changeset 1813:a7cda692b681

sdl-config doesn't include the OpenGL library in --libs
author Sam Lantinga <slouken@libsdl.org>
date Thu, 11 May 2006 04:16:39 +0000
parents 9c882e94b545
children 1834c192d89f
files configure.in test/configure.in
diffstat 2 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Thu May 11 03:45:55 2006 +0000
+++ b/configure.in	Thu May 11 04:16:39 2006 +0000
@@ -2575,9 +2575,6 @@
     if test x$enable_video = xyes -a x$enable_video_carbon = xyes; then
       SDL_LIBS="$SDL_LIBS -Wl,-framework,Carbon"
     fi
-    if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then
-      SDL_LIBS="$SDL_LIBS -Wl,-framework,OpenGL"
-    fi
     # Evil hack to allow static linking on Mac OS X
     SDL_STATIC_LIBS="\${exec_prefix}/lib/libSDLmain.a \${exec_prefix}/lib/libSDL.a $EXTRA_LDFLAGS"
     ;;
--- a/test/configure.in	Thu May 11 03:45:55 2006 +0000
+++ b/test/configure.in	Thu May 11 04:16:39 2006 +0000
@@ -28,7 +28,7 @@
     *-*-darwin* )
         EXE=""
         MATHLIB=""
-        SYS_GL_LIBS=""
+        SYS_GL_LIBS="-Wl,-framework,OpenGL"
         ;;
     *-*-aix*)
         EXE=""