From 464aa94c70de2467797acb38b785e4cd2321655c Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 11 Jun 2018 19:07:29 +0200 Subject: Remove -lCocoa and -OpenGL - they dosn't make any sense... Add -framework OpenGL istead. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7679f05..f60493c 100644 --- a/configure.ac +++ b/configure.ac @@ -168,7 +168,7 @@ AS_IF( [test "x$enable_gui" = "xcocoa"], [AC_MSG_RESULT([Setting gui backend to Cocoa]) GUI_CPPFLAGS="-DUI_COCOA" - GUI_LIBS="-framework Cocoa" + GUI_LIBS="-framework OpenGL -framework Cocoa" ], [test "x$enable_gui" = "xpugl-x11"], @@ -186,7 +186,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" - GUI_LIBS="-lCocoa -lOpenGL -framework Cocoa"], + GUI_LIBS="-framework OpenGL -framework Cocoa"], AC_MSG_ERROR([*** No GUI backend has been selected ***]) ) -- cgit v1.2.3