r15248 - gnucash/trunk/packaging/win32 - Strip libdir directives in distributed libtool .la files, because they

Andreas Köhler andi5 at cvs.gnucash.org
Sat Dec 23 01:41:32 EST 2006


Author: andi5
Date: 2006-12-23 01:41:31 -0500 (Sat, 23 Dec 2006)
New Revision: 15248
Trac: http://svn.gnucash.org/trac/changeset/15248

Modified:
   gnucash/trunk/packaging/win32/dist.sh
Log:
Strip libdir directives in distributed libtool .la files, because they
may point to still existing libraries that will be dlopened and conflict
with those loaded on startup.


Modified: gnucash/trunk/packaging/win32/dist.sh
===================================================================
--- gnucash/trunk/packaging/win32/dist.sh	2006-12-22 11:10:38 UTC (rev 15247)
+++ gnucash/trunk/packaging/win32/dist.sh	2006-12-23 06:41:31 UTC (rev 15248)
@@ -152,6 +152,12 @@
         echo "done"
     done
 
+    # Strip redirections in distributed libtool .la files
+    for file in `find $DIST_UDIR/lib -name '*.la'`; do
+        cat $file | sed 's,^libdir=,#libdir=,' > $file.new
+        mv $file.new $file
+    done
+
     echo "You can now run the Inno Setup Compiler for creating the setup.exe:"
     echo ${_INNO_UDIR}/iscc ${_GNUCASH_UDIR}/gnucash.iss
 }



More information about the gnucash-changes mailing list