2009-02-21 17:32:34 +02:00
|
|
|
--- a/Makefile.in
|
|
|
|
+++ b/Makefile.in
|
|
|
|
@@ -789,6 +789,7 @@ $(srcdir)/ltmain.sh: $(srcdir)/ltmain.in
|
2007-12-27 04:11:03 +02:00
|
|
|
-rm -f ltmain.shT
|
|
|
|
date=`$(SHELL) $(srcdir)/mkstamp < $(srcdir)/ChangeLog` && \
|
|
|
|
sed -e 's/@''PACKAGE@/@PACKAGE@/' -e 's/@''VERSION@/@VERSION@/' \
|
|
|
|
+ -e 's#@''GLOBAL_LIBDIR@#$(GLOBAL_LIBDIR)#' \
|
|
|
|
-e "s%@""TIMESTAMP@%$$date%" $(srcdir)/ltmain.in > ltmain.shT
|
|
|
|
mv -f ltmain.shT $@ || \
|
|
|
|
(rm -f $@ && cp ltmain.shT $@ && rm -f ltmain.shT)
|
2009-02-21 17:32:34 +02:00
|
|
|
--- a/ltmain.in
|
|
|
|
+++ b/ltmain.in
|
|
|
|
@@ -5669,7 +5669,7 @@ fi\
|
2007-12-27 04:11:03 +02:00
|
|
|
$echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
|
|
|
|
exit $EXIT_FAILURE
|
|
|
|
fi
|
|
|
|
- newdependency_libs="$newdependency_libs $libdir/$name"
|
|
|
|
+ newdependency_libs="$newdependency_libs @GLOBAL_LIBDIR@/$name"
|
|
|
|
;;
|
|
|
|
*) newdependency_libs="$newdependency_libs $deplib" ;;
|
|
|
|
esac
|
2009-02-21 17:32:34 +02:00
|
|
|
@@ -5694,7 +5694,7 @@ fi\
|
2007-12-27 04:11:03 +02:00
|
|
|
$echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
|
|
|
|
exit $EXIT_FAILURE
|
|
|
|
fi
|
|
|
|
- newdlprefiles="$newdlprefiles $libdir/$name"
|
|
|
|
+ newdlprefiles="$newdlprefiles @GLOBAL_LIBDIR@/$name"
|
|
|
|
done
|
|
|
|
dlprefiles="$newdlprefiles"
|
|
|
|
else
|
2009-02-21 17:32:34 +02:00
|
|
|
--- a/Makefile.am
|
|
|
|
+++ b/Makefile.am
|
|
|
|
@@ -67,6 +67,7 @@ $(srcdir)/ltmain.sh: $(srcdir)/ltmain.in
|
2007-12-28 18:48:15 +02:00
|
|
|
-rm -f ltmain.shT
|
|
|
|
date=`$(SHELL) $(srcdir)/mkstamp < $(srcdir)/ChangeLog` && \
|
|
|
|
sed -e 's/@''PACKAGE@/@PACKAGE@/' -e 's/@''VERSION@/@VERSION@/' \
|
|
|
|
+ -e 's#@''GLOBAL_LIBDIR@#$(GLOBAL_LIBDIR)#' \
|
|
|
|
-e "s%@""TIMESTAMP@%$$date%" $(srcdir)/ltmain.in > ltmain.shT
|
|
|
|
mv -f ltmain.shT $@ || \
|
|
|
|
(rm -f $@ && cp ltmain.shT $@ && rm -f ltmain.shT)
|