summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-06-11 16:53:22 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-06-11 17:11:21 +0200
commitea4d7a66e130b8a42686d8712f9ef7a519202316 (patch)
tree8244b4e3408e948f55da50a5ec99434bfa1863e7
parent32df75ec9613093a3a4bdff692052cd862012444 (diff)
Remove framework Cocoa linker arguments from compiler flags.
-rw-r--r--configure.ac7
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 ***])