Skip to content

Commit

Permalink
sdl-config doesn't include the OpenGL library in --libs
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 11, 2006
1 parent 5610b17 commit cb8898b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions configure.in
Expand Up @@ -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"
;;
Expand Down
2 changes: 1 addition & 1 deletion test/configure.in
Expand Up @@ -28,7 +28,7 @@ case "$host" in
*-*-darwin* )
EXE=""
MATHLIB=""
SYS_GL_LIBS=""
SYS_GL_LIBS="-Wl,-framework,OpenGL"
;;
*-*-aix*)
EXE=""
Expand Down

0 comments on commit cb8898b

Please sign in to comment.