From db44ebf3325fb4cde0e8ec1e6e6a8b253cec5129 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 27 Oct 2007 14:43:51 +0000 Subject: Use @LTLIBC@ instead of -lc. --- gnulib-local/ChangeLog | 5 +++++ gnulib-local/modules/gettext-tools-misc | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + * modules/gettext-tools-misc (Makefile.am): Use @LTLIBC@ instead of + hardcoding -lc. Needed for HP-UX 11. + +2007-10-27 Bruno Haible + * 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 -- cgit v1.1