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
This commit is contained in:
Andreas Köhler 2006-12-23 06:41:31 +00:00
parent 643de6fae9
commit c3272290ea

View File

@ -152,6 +152,12 @@ function finish() {
echo "done" echo "done"
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 "You can now run the Inno Setup Compiler for creating the setup.exe:"
echo ${_INNO_UDIR}/iscc ${_GNUCASH_UDIR}/gnucash.iss echo ${_INNO_UDIR}/iscc ${_GNUCASH_UDIR}/gnucash.iss
} }