diff options
author | Dan McGee <dan@archlinux.org> | 2008-04-14 21:01:30 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-04-14 21:01:30 -0500 |
commit | d685d0220fdb16097252bcf851ada5cf8400da0e (patch) | |
tree | 370f0844f163be0be6c254bab8b751e38b873ca4 /src | |
parent | 4b7f7e2a59457aa881ae883b6d102f9fc62e2ed8 (diff) | |
download | pacman-d685d0220fdb16097252bcf851ada5cf8400da0e.tar.xz |
Fix gettext on non-Linux platforms
Linux includes all the gettext stuff in glibc, so there is no need for the
libintl links which we failed to include in our linker variables. Update the
makefiles which should enable NLS support on all platforms, including OS X
and Cygwin.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/Makefile.am | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pacman/Makefile.am b/src/pacman/Makefile.am index 0395432e..5e287404 100644 --- a/src/pacman/Makefile.am +++ b/src/pacman/Makefile.am @@ -33,10 +33,9 @@ pacman_SOURCES = \ callback.h callback.c \ util.h util.c -pacman_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la +LDADD = $(LTLIBINTL) $(top_builddir)/lib/libalpm/.libs/libalpm.la pacman_static_SOURCES = $(pacman_SOURCES) pacman_static_LDFLAGS = $(LDFLAGS) -all-static -pacman_static_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la # vim:set ts=2 sw=2 noet: |