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

View file

@ -2021,12 +2021,6 @@ CheckMacGL()
AC_DEFINE(SDL_VIDEO_OPENGL_CGL, 1, [ ])
AC_DEFINE(SDL_VIDEO_RENDER_OGL, 1, [ ])
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
}