From c3272290eacc3cb43a8eb8b152f979a8f85b7136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=B6hler?= Date: Sat, 23 Dec 2006 06:41:31 +0000 Subject: [PATCH] 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. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15248 57a11ea4-9604-0410-9ed3-97b8803252fd --- packaging/win32/dist.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packaging/win32/dist.sh b/packaging/win32/dist.sh index 1e4b1c4458..2b6a53204d 100644 --- a/packaging/win32/dist.sh +++ b/packaging/win32/dist.sh @@ -152,6 +152,12 @@ function finish() { 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 }