Commit 8ead6868 authored by Sam Lantinga's avatar Sam Lantinga

sdl-config doesn't include the OpenGL library in --libs

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401774
parent 1c057bf3
...@@ -2575,9 +2575,6 @@ case "$ARCH" in ...@@ -2575,9 +2575,6 @@ case "$ARCH" in
if test x$enable_video = xyes -a x$enable_video_carbon = xyes; then if test x$enable_video = xyes -a x$enable_video_carbon = xyes; then
SDL_LIBS="$SDL_LIBS -Wl,-framework,Carbon" SDL_LIBS="$SDL_LIBS -Wl,-framework,Carbon"
fi 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 # 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" SDL_STATIC_LIBS="\${exec_prefix}/lib/libSDLmain.a \${exec_prefix}/lib/libSDL.a $EXTRA_LDFLAGS"
;; ;;
......
...@@ -28,7 +28,7 @@ case "$host" in ...@@ -28,7 +28,7 @@ case "$host" in
*-*-darwin* ) *-*-darwin* )
EXE="" EXE=""
MATHLIB="" MATHLIB=""
SYS_GL_LIBS="" SYS_GL_LIBS="-Wl,-framework,OpenGL"
;; ;;
*-*-aix*) *-*-aix*)
EXE="" EXE=""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment