mirror of https://github.com/mpv-player/mpv
Fix X11 libs detection on Cygwin.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12515 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e242b847d8
commit
f208bcf694
|
@ -2994,7 +2994,7 @@ fi
|
|||
echocheck "X11 libs presence"
|
||||
if test -z "$_ld_x11" ; then
|
||||
for I in /usr/X11R6/lib /usr/lib/X11R6 /usr/X11/lib /usr/lib32 /usr/openwin/lib /usr/X11R6/lib64 ; do
|
||||
if test -d "$I" && ( test -f "$I/libX11.so" || test -f "$I/libX11.a" ) ; then
|
||||
if test -d "$I" && ( test -f "$I/libX11.so" || test -f "$I/libX11.a" || test -f "$I/libX11.dll.a" ) ; then
|
||||
_ld_x11="-L$I"
|
||||
echores "yes (using $I)"
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue