diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-06-11 16:53:22 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-06-11 17:11:21 +0200 |
commit | ea4d7a66e130b8a42686d8712f9ef7a519202316 (patch) | |
tree | 8244b4e3408e948f55da50a5ec99434bfa1863e7 /configure.ac | |
parent | 32df75ec9613093a3a4bdff692052cd862012444 (diff) |
Remove framework Cocoa linker arguments from compiler flags.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 37edd6f..7679f05 100644 --- a/configure.ac +++ b/configure.ac @@ -167,8 +167,9 @@ AS_IF( [test "x$enable_gui" = "xcocoa"], [AC_MSG_RESULT([Setting gui backend to Cocoa]) - GUI_CPPFLAGS="-DUI_COCOA -framework Cocoa" - GUI_LIBS="-framework Cocoa"], + GUI_CPPFLAGS="-DUI_COCOA" + GUI_LIBS="-framework Cocoa" + ], [test "x$enable_gui" = "xpugl-x11"], [AC_MSG_RESULT([Setting gui backend to Pugl-X11]) @@ -184,7 +185,7 @@ AS_IF( [test "x$enable_gui" = "xpugl-cocoa"], [AC_MSG_RESULT([Setting gui backend to Pugl-Cocoa]) - GUI_CPPFLAGS="-DUI_PUGL -DPUGL_HAVE_GL -framework Cocoa" + GUI_CPPFLAGS="-DUI_PUGL -DPUGL_HAVE_GL" GUI_LIBS="-lCocoa -lOpenGL -framework Cocoa"], AC_MSG_ERROR([*** No GUI backend has been selected ***]) |