[packages] eterm: Don't add host lib and include paths.

git-svn-id: svn://svn.openwrt.org/openwrt/packages@19734 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
lars 2010-02-19 04:38:10 +00:00
parent 3fc216cfd2
commit 282b93cf5f

View File

@ -0,0 +1,17 @@
diff --git a/configure b/configure
index c2c0c91..321e0fb 100755
--- a/configure
+++ b/configure
@@ -26704,10 +26704,10 @@ else
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"