sdl-config doesn't include the OpenGL library in --libs
authorSam Lantinga <slouken@libsdl.org>
Thu, 11 May 2006 04:16:39 +0000
changeset 1813a7cda692b681
parent 1812 9c882e94b545
child 1814 1834c192d89f
sdl-config doesn't include the OpenGL library in --libs
configure.in
test/configure.in
     1.1 --- a/configure.in	Thu May 11 03:45:55 2006 +0000
     1.2 +++ b/configure.in	Thu May 11 04:16:39 2006 +0000
     1.3 @@ -2575,9 +2575,6 @@
     1.4      if test x$enable_video = xyes -a x$enable_video_carbon = xyes; then
     1.5        SDL_LIBS="$SDL_LIBS -Wl,-framework,Carbon"
     1.6      fi
     1.7 -    if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then
     1.8 -      SDL_LIBS="$SDL_LIBS -Wl,-framework,OpenGL"
     1.9 -    fi
    1.10      # Evil hack to allow static linking on Mac OS X
    1.11      SDL_STATIC_LIBS="\${exec_prefix}/lib/libSDLmain.a \${exec_prefix}/lib/libSDL.a $EXTRA_LDFLAGS"
    1.12      ;;
     2.1 --- a/test/configure.in	Thu May 11 03:45:55 2006 +0000
     2.2 +++ b/test/configure.in	Thu May 11 04:16:39 2006 +0000
     2.3 @@ -28,7 +28,7 @@
     2.4      *-*-darwin* )
     2.5          EXE=""
     2.6          MATHLIB=""
     2.7 -        SYS_GL_LIBS=""
     2.8 +        SYS_GL_LIBS="-Wl,-framework,OpenGL"
     2.9          ;;
    2.10      *-*-aix*)
    2.11          EXE=""