summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-04-25 02:36:45 +0200
committerBruno Haible <bruno@clisp.org>2009-04-25 02:36:45 +0200
commit4ccf7a0c046f53d4ae71ee992c0123a3cb33dcdb (patch)
treef478162244b3d63b1bee8d3ff762b13f0947e92d
parent116c9afe2f690395dea59b38dddb6d5f1fd53b54 (diff)
downloadlibunistring-4ccf7a0c046f53d4ae71ee992c0123a3cb33dcdb.tar.gz
Make the installed package relocatable.
-rw-r--r--ChangeLog6
-rwxr-xr-xautogen.sh1
-rw-r--r--lib/Makefile.am3
3 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c3e4e98..666d7d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-04-24 Bruno Haible <bruno@clisp.org>
+
+ Make the installed package relocatable.
+ * autogen.sh (GNULIB_MODULES): Add relocatable-lib-lgpl.
+ * lib/Makefile.am (AM_CPPFLAGS): Add DEPENDS_ON_LIBICONV definition.
+
2009-04-23 Bruno Haible <bruno@clisp.org>
Fix recognition of "nm" command.
diff --git a/autogen.sh b/autogen.sh
index ae33505..30426c5 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -398,6 +398,7 @@ if test $skip_gnulib = false; then
unicase/ulc-casecmp
unicase/ulc-casecoll
unicase/ulc-casexfrm
+ relocatable-lib-lgpl
'
$GNULIB_TOOL --lib=libunistring --source-base=lib --m4-base=gnulib-m4 --tests-base=tests \
--with-tests --lgpl --makefile-name=Makefile.gnulib --libtool --local-dir=gnulib-local \
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 40704fd..5c0d8f8 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -241,6 +241,9 @@ endif
libunistring_la_LIBADD += $(WOE32_LIBADD)
libunistring_la_DEPENDENCIES += $(WOE32_LIBADD)
+# Parametrization of the 'relocatable-lib-lgpl' module.
+AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1
+
# Libtool's library version information for libunistring.
# See the libtool documentation, section "Library interface versions".
LTV_CURRENT=0