changeset 49:b7acc3b44fa0

bugfix for xmlwrapp (by Rocco Rutte)
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 03 Jul 2007 11:13:27 +0200
parents 6891d9c6af8e
children afebdcaf1428
files build_mingw_cross_env.sh
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/build_mingw_cross_env.sh	Tue Jul 03 10:59:55 2007 +0200
+++ b/build_mingw_cross_env.sh	Tue Jul 03 11:13:27 2007 +0200
@@ -874,14 +874,17 @@
     EXSLT_LIBS=`$TARGET-pkg-config libexslt --libs | sed 's,-L[^ ]*,,g'`
     $SED 's,.*/usr/include.*,,' -i configure.pl
     $SED "s,-lxslt -lexslt,$EXSLT_LIBS," -i configure.pl
+    $SED 's,"ranlib",$ENV{"RANLIB"} || "ranlib",g' -i tools/cxxflags
     CXX="$TARGET-g++" \
     AR="$TARGET-ar" \
+    RANLIB="$TARGET-ranlib" \
     CXXFLAGS="`$PREFIX/$TARGET/bin/xml2-config --cflags`" \
     ./configure.pl \
         --disable-shared \
         --prefix="$PREFIX/$TARGET" \
         --xml2-config="$PREFIX/$TARGET/bin/xml2-config" \
-        --xslt-config="$PREFIX/$TARGET/bin/xslt-config"
+        --xslt-config="$PREFIX/$TARGET/bin/xslt-config" \
+        --disable-examples
     $MAKE install
     cd "$SOURCE"
     rm -rfv "xmlwrapp-$VERSION_xmlwrapp"