mirror of https://github.com/mpv-player/mpv
Remove /usr/include from the list of places to check for headers,
default system directories are covered by the empty include path. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23803 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cd1f6674cd
commit
9f852fcd18
|
@ -3685,7 +3685,7 @@ if test "$_directfb" = auto ; then
|
|||
int main(void) { IDirectFB *foo; DirectFBInit(0,0); return 0; }
|
||||
EOF
|
||||
for _inc_tmp in "" -I/usr/local/include/directfb \
|
||||
-I/usr/include/directfb -I/usr/local/include -I/usr/include; do
|
||||
-I/usr/include/directfb -I/usr/local/include; do
|
||||
cc_check $_inc_tmp -ldirectfb && _directfb=yes && \
|
||||
_inc_extra="$_inc_extra $_inc_tmp" && break
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue