From: Bruno Haible Date: Sat, 27 Oct 2007 14:43:51 +0000 (+0000) Subject: Use @LTLIBC@ instead of -lc. X-Git-Tag: v0.17~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db44ebf3325fb4cde0e8ec1e6e6a8b253cec5129;p=thirdparty%2Fgettext.git Use @LTLIBC@ instead of -lc. --- diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog index a65515285..41d4058fc 100644 --- a/gnulib-local/ChangeLog +++ b/gnulib-local/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/gnulib-local/modules/gettext-tools-misc b/gnulib-local/modules/gettext-tools-misc index 71c9b9f2b..ce44c6f18 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