summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-04-06 03:11:11 +0200
committerBruno Haible <bruno@clisp.org>2009-04-06 03:11:11 +0200
commitc8e409860bc4a9d9bc299496feb8d25e70761b46 (patch)
tree6491a5050c4777da389bb765667b70e71e6429ed
parentfa3ead8635f7790d03fdd59df439c4cceb460ea2 (diff)
downloadlibunistring-c8e409860bc4a9d9bc299496feb8d25e70761b46.tar.gz
Allow building as a shared library on AIX.
-rw-r--r--ChangeLog6
-rw-r--r--lib/Makefile.am3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 09b12f5..1eb2173 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2008-04-05 Bruno Haible <bruno@clisp.org>
+ Allow building as a shared library on AIX.
+ * lib/Makefile.am (libunistring_la_LDFLAGS): Add -no-undefined flag
+ and INTL_MACOSX_LIBS (for MacOS X).
+
+2008-04-05 Bruno Haible <bruno@clisp.org>
+
Use libtool versioning.
* lib/Makefile.am (LTV_CURRENT, LTV_REVISION, LTV_AGE): New macros.
(libunistring_la_LDFLAGS): Pass -version-info option.
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 99fa5ac..86ab54e 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -54,4 +54,5 @@ LTV_AGE=0
# How to build libunistring.la.
libunistring_la_LDFLAGS += \
-version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
- -rpath $(libdir)
+ -rpath $(libdir) \
+ @INTL_MACOSX_LIBS@ -no-undefined