Install.sh: Remove dependency_libs line from .la files in \lib too.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15551 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler
2007-02-10 14:57:33 +00:00
parent ba168b0de4
commit 366b56882f

View File

@@ -862,16 +862,18 @@ function inst_gnucash() {
make install
qpopd
qpushd $_INSTALL_UDIR/lib/gnucash
# Move modules that are compiled without -module to lib/gnucash
mv ../bin/*.dll .
# In the installed .la files, remove the dependency_libs line and
# correct the 'dlname'. We do not use these files to dlopen the
# modules, so actually this is unneeded.
for A in *.la; do
qpushd $_INSTALL_UDIR/lib
# Move modules that are compiled without -module to lib/gnucash and
# correct the 'dlname' in the libtool archives. We do not use these
# files to dlopen the modules, so actually this is unneeded.
# Also, in all installed .la files, remove the dependency_libs line
mv bin/*.dll gnucash || true
for A in gnucash/*.la; do
sed '/dependency_libs/d;s#../bin/##' $A > tmp ; mv tmp $A
done
for A in *.la; do
sed '/dependency_libs/d' $A > tmp ; mv tmp $A
done
qpopd
qpushd $_INSTALL_UDIR/etc/gconf/schemas