build-sys: support separate libintl

Addresses: https://github.com/karelzak/util-linux/pull/13
Reported-by: Ben Walton <bwalton@artsci.utoronto.ca>
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2012-07-09 16:44:25 +02:00
parent dcdb349be7
commit 7bce71a3f9
1 changed files with 5 additions and 0 deletions

View File

@ -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.