From: Michael Wetherell Date: Mon, 31 Oct 2005 20:21:12 +0000 (+0000) Subject: Include $cross_root/include in header search when cross compiling X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e4809643b4538f7b7a8cba3c88dab40e71f9ee20 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 --- diff --git a/configure.in b/configure.in index 41f1a673a4..6450784b71 100644 --- a/configure.in +++ b/configure.in @@ -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