]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Use @LTLIBC@ instead of -lc.
authorBruno Haible <bruno@clisp.org>
Sat, 27 Oct 2007 14:43:51 +0000 (14:43 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:15:23 +0000 (12:15 +0200)
gnulib-local/ChangeLog
gnulib-local/modules/gettext-tools-misc

index a65515285b5e196b66255592852055ff5739c95e..41d4058fcdf03c77e46aa0308078e7782594203f 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 71c9b9f2b5fa64a63b5707a27c0143a0550eb4c9..ce44c6f18b88a5457ab43623499f34a0a56a7433 100644 (file)
@@ -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