From e4809643b4538f7b7a8cba3c88dab40e71f9ee20 Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Mon, 31 Oct 2005 20:21:12 +0000 Subject: [PATCH] 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 --- configure.in | 1 + 1 file changed, 1 insertion(+) 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 -- 2.45.2