From: Karel Zak Date: Mon, 9 Jul 2012 14:44:25 +0000 (+0200) Subject: build-sys: support separate libintl X-Git-Tag: v2.22-rc1~186 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7bce71a3f9e4dc0a2cae527f383f23367eca5c1a;p=thirdparty%2Futil-linux.git build-sys: support separate libintl Addresses: https://github.com/karelzak/util-linux/pull/13 Reported-by: Ben Walton Signed-off-by: Karel Zak --- diff --git a/Makefile.am b/Makefile.am index 8b8368b2d1..be5dd09fed 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,6 +6,11 @@ AM_CPPFLAGS = \ AM_CFLAGS = -fsigned-char $(WARN_CFLAGS) AM_LDFLAGS = +# Add gettext stuff to the global LDADD for systems with separate libintl +# library. The LTLIBINTL is generated by AM_GNU_GETTEXT macro. +# +LDADD = $(LTLIBINTL) + # Automake (at least up to 1.10) mishandles dist_man_MANS inside conditionals. # Unlike with other dist primaries, the files are not distributed if the # conditional is false.