From ea4d7a66e130b8a42686d8712f9ef7a519202316 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 11 Jun 2018 16:53:22 +0200 Subject: Remove framework Cocoa linker arguments from compiler flags. --- configure.ac | 7 ++++--- 1 file 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 ***]) -- cgit v1.2.3