Don't link directly against OpenGL.framework on Mac OS X.
We dlopen() it as appropriate already.
This commit is contained in:
parent
4b29e7eeba
commit
663450efc3
4 changed files with 75 additions and 187 deletions
6
configure
vendored
6
configure
vendored
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue