mirror of https://github.com/mpv-player/mpv
OpenGL needs _ld_dl to get extension functions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16119 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f467c97576
commit
efcbb96b22
|
@ -3788,10 +3788,10 @@ EOF
|
|||
_gl=no
|
||||
if cc_check $_inc_x11 $_ld_x11 -lGL $_ld_lm ; then
|
||||
_gl=yes
|
||||
_ld_gl="-lGL"
|
||||
_ld_gl="-lGL $_ld_dl"
|
||||
elif cc_check $_inc_x11 $_ld_x11 -lGL $_ld_lm $_ld_pthread ; then
|
||||
_gl=yes
|
||||
_ld_gl="-lGL $_ld_pthread"
|
||||
_ld_gl="-lGL $_ld_pthread $_ld_ld"
|
||||
elif cc_check -lopengl32 ; then
|
||||
_gl=yes
|
||||
_gl_win32=yes
|
||||
|
|
Loading…
Reference in New Issue