]> git.saurik.com Git - wxWidgets.git/commitdiff
Include $cross_root/include in header search when cross compiling
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Mon, 31 Oct 2005 20:21:12 +0000 (20:21 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Mon, 31 Oct 2005 20:21:12 +0000 (20:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 41f1a673a4700ec0b0a465e0ba4e3899e234416c..6450784b71dcac03c238d29c3728d70f322ce068 100644 (file)
@@ -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