mirror of
https://github.com/mpv-player/mpv
synced 2024-08-04 14:59:58 +02:00
Do not look for X11 headers on the host when cross-compiling.
patch by Guillaume Lecerf, foxcore gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26276 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ebfa5122b3
commit
27ffcb5802
2
configure
vendored
2
configure
vendored
@ -3902,6 +3902,7 @@ echocheck "X11 headers presence"
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test $_cross_compile = no; then
|
||||
for I in /usr/X11/include /usr/X11R6/include /usr/include/X11R6 /usr/openwin/include ; do
|
||||
if test -f "$I/X11/Xlib.h" ; then
|
||||
_inc_extra="$_inc_extra -I$I"
|
||||
@ -3910,6 +3911,7 @@ echocheck "X11 headers presence"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
echores "$_x11_headers"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user