Include $cross_root/include in header search when cross compiling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f9f75df733
commit
e4809643b4
@ -2239,6 +2239,7 @@ if test "$build" != "$host" -a "$GCC" = yes; then
|
||||
dnl strip out any that don't start '^/usr'.
|
||||
SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
|
||||
SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
|
||||
SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
|
||||
|
||||
dnl also have pkg-config search for *.pc files under this 'root'
|
||||
if test -z "$PKG_CONFIG_PATH"; then
|
||||
|
Loading…
Reference in New Issue
Block a user