From: Lars-Peter Clausen Date: Fri, 19 Feb 2010 04:27:45 +0000 (+0000) Subject: [packages] libast: Dont' add host lib and include dirs. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=abce27382c1c6d4f5d78545e4bafc9abd283891e;p=openwrt%2Fsvn-archive%2Farchive.git [packages] libast: Dont' add host lib and include dirs. SVN-Revision: 19732 --- diff --git a/Xorg/lib/libast/patches/010-dont-add-host-paths.patch b/Xorg/lib/libast/patches/010-dont-add-host-paths.patch new file mode 100644 index 0000000000..343a196e97 --- /dev/null +++ b/Xorg/lib/libast/patches/010-dont-add-host-paths.patch @@ -0,0 +1,17 @@ +diff --git a/configure b/configure +index 713e65e..9879341 100755 +--- a/configure ++++ b/configure +@@ -27152,10 +27152,10 @@ fi; + + + +- CPPFLAGS=`eval eval eval eval eval echo "-I$includedir -I$prefix/include $CPPFLAGS"` ++ CPPFLAGS=`eval eval eval eval eval echo "$CPPFLAGS"` + CPPFLAGS=`echo $CPPFLAGS | tr ' ' '\n' | uniq | grep -v NONE | tr '\n' ' '` + CFLAGS=${CFLAGS--O} +- LDFLAGS=`eval eval eval eval eval echo "-L$libdir -L$prefix/lib ${LDFLAGS--O}"` ++ LDFLAGS=`eval eval eval eval eval echo "${LDFLAGS--O}"` + LDFLAGS=`echo $LDFLAGS | tr ' ' '\n' | uniq | grep -v NONE | tr '\n' ' '` + LIBS="$GRLIBS $X_PRE_LIBS $LIBS $X_EXTRA_LIBS" +