# HG changeset patch # User Sam Lantinga # Date 1147320999 0 # Node ID a7cda692b681c2b187cbb8c8bc71b8d1612cc8d2 # Parent 9c882e94b545c487dfbdc3bd53621902f6956cf9 sdl-config doesn't include the OpenGL library in --libs diff -r 9c882e94b545 -r a7cda692b681 configure.in --- 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" ;; diff -r 9c882e94b545 -r a7cda692b681 test/configure.in --- 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=""