mirror of
https://github.com/yawut/SDL.git
synced 2026-04-22 16:47:18 -05:00
sdl-config doesn't include the OpenGL library in --libs
This commit is contained in:
parent
4e69d001e0
commit
e31e073820
|
|
@ -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"
|
||||
;;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ case "$host" in
|
|||
*-*-darwin* )
|
||||
EXE=""
|
||||
MATHLIB=""
|
||||
SYS_GL_LIBS=""
|
||||
SYS_GL_LIBS="-Wl,-framework,OpenGL"
|
||||
;;
|
||||
*-*-aix*)
|
||||
EXE=""
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user