summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-10-27 14:43:51 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:15:23 +0200
commitdb44ebf3325fb4cde0e8ec1e6e6a8b253cec5129 (patch)
tree6b4c280e4021a033b45f073012b9982d4f54258a
parent1abb78f6d54e61c4eb6c6716f06a58d8f1f1224f (diff)
downloadexternal_gettext-db44ebf3325fb4cde0e8ec1e6e6a8b253cec5129.zip
external_gettext-db44ebf3325fb4cde0e8ec1e6e6a8b253cec5129.tar.gz
external_gettext-db44ebf3325fb4cde0e8ec1e6e6a8b253cec5129.tar.bz2
Use @LTLIBC@ instead of -lc.
-rw-r--r--gnulib-local/ChangeLog5
-rw-r--r--gnulib-local/modules/gettext-tools-misc3
2 files changed, 7 insertions, 1 deletions
diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog
index a655152..41d4058 100644
--- a/gnulib-local/ChangeLog
+++ b/gnulib-local/ChangeLog
@@ -1,5 +1,10 @@
2007-10-27 Bruno Haible <bruno@clisp.org>
+ * modules/gettext-tools-misc (Makefile.am): Use @LTLIBC@ instead of
+ hardcoding -lc. Needed for HP-UX 11.
+
+2007-10-27 Bruno Haible <bruno@clisp.org>
+
* tests/test-term-ostream-xterm-new.out: New file.
* tests/test-term-ostream-xterm: Use it as possible test result.
* modules/term-ostream-tests (Files): Add it.
diff --git a/gnulib-local/modules/gettext-tools-misc b/gnulib-local/modules/gettext-tools-misc
index 71c9b9f..ce44c6f 100644
--- a/gnulib-local/modules/gettext-tools-misc
+++ b/gnulib-local/modules/gettext-tools-misc
@@ -19,9 +19,10 @@ lib_LTLIBRARIES = libgettextlib.la
# Need @LTLIBINTL@ because many source files use gettext().
# Need @LTLIBICONV@ because linebreak.c and striconv.c use iconv().
# Need @LIB_ACL@ because copy-file.c uses acl.h.
+# Need @LTLIBC@ for -no-undefined to work on many platforms.
lib_LDFLAGS += \
-release @VERSION@ \
- @LTLIBINTL@ @LTLIBICONV@ @LIB_ACL@ -lc @LTNOUNDEF@
+ @LTLIBINTL@ @LTLIBICONV@ @LIB_ACL@ @LTLIBC@ @LTNOUNDEF@
# Tell the mingw or Cygwin linker which symbols to export.
if WOE32DLL