From cb8898b542333250b86ad283d8d6470898f38cb6 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 11 May 2006 04:16:39 +0000 Subject: [PATCH] sdl-config doesn't include the OpenGL library in --libs --- configure.in | 3 --- test/configure.in | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 2157bc694..24c78a774 100644 --- a/configure.in +++ b/configure.in @@ -2575,9 +2575,6 @@ case "$ARCH" in 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 --git a/test/configure.in b/test/configure.in index 9499ad5ab..057c11e26 100644 --- a/test/configure.in +++ b/test/configure.in @@ -28,7 +28,7 @@ case "$host" in *-*-darwin* ) EXE="" MATHLIB="" - SYS_GL_LIBS="" + SYS_GL_LIBS="-Wl,-framework,OpenGL" ;; *-*-aix*) EXE=""