Don't link directly against OpenGL.framework on Mac OS X.

We dlopen() it as appropriate already.
This commit is contained in:
Ryan C. Gordon 2014-06-05 11:04:07 -04:00
parent 4b29e7eeba
commit 663450efc3
4 changed files with 75 additions and 187 deletions

6
configure vendored
View file

@ -21181,12 +21181,6 @@ $as_echo "#define SDL_VIDEO_OPENGL_CGL 1" >>confdefs.h
$as_echo "#define SDL_VIDEO_RENDER_OGL 1" >>confdefs.h
SUMMARY_video="${SUMMARY_video} opengl"
case "$host" in
*-*-darwin*)
if test x$enable_video_cocoa = xyes; then
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,OpenGL"
fi
esac
fi
}