summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-06-11 19:07:29 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-06-11 19:33:09 +0200
commit464aa94c70de2467797acb38b785e4cd2321655c (patch)
treedb767e8c160a3d42be1414e6cd598babb13abf0c
parentb4db19b2e068b7bc63a602337631df12d46eb525 (diff)
Remove -lCocoa and -OpenGL - they dosn't make any sense... Add -framework OpenGL istead.
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
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 ***])
)