mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
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>
This commit is contained in:
parent
4b7f7e2a59
commit
d685d0220f
@ -40,5 +40,6 @@ libalpm_la_SOURCES = \
|
|||||||
util.h util.c
|
util.h util.c
|
||||||
|
|
||||||
libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO)
|
libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO)
|
||||||
|
libalpm_la_LIBADD = $(LTLIBINTL)
|
||||||
|
|
||||||
# vim:set ts=2 sw=2 noet:
|
# vim:set ts=2 sw=2 noet:
|
||||||
|
@ -33,10 +33,9 @@ pacman_SOURCES = \
|
|||||||
callback.h callback.c \
|
callback.h callback.c \
|
||||||
util.h util.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_SOURCES = $(pacman_SOURCES)
|
||||||
pacman_static_LDFLAGS = $(LDFLAGS) -all-static
|
pacman_static_LDFLAGS = $(LDFLAGS) -all-static
|
||||||
pacman_static_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
|
|
||||||
|
|
||||||
# vim:set ts=2 sw=2 noet:
|
# vim:set ts=2 sw=2 noet:
|
||||||
|
Loading…
Reference in New Issue
Block a user