aboutsummaryrefslogtreecommitdiff
path: root/package/psmisc/psmisc.mk
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-08-25 09:05:00 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-08-25 09:05:00 +0000
commit1fff6d9d3d8aed70d2d77f98f2f0d0f02641bab5 (patch)
treec9c378cf82c84dc310fdb9222d453233a7cd2f1c /package/psmisc/psmisc.mk
parent402042a7ed48f8eafbd8c5e75c3c823071077954 (diff)
downloadbuildroot-1fff6d9d3d8aed70d2d77f98f2f0d0f02641bab5.tar.gz
buildroot-1fff6d9d3d8aed70d2d77f98f2f0d0f02641bab5.tar.bz2
psmic: locale support
Closes #4274.
Diffstat (limited to 'package/psmisc/psmisc.mk')
-rw-r--r--package/psmisc/psmisc.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/psmisc/psmisc.mk b/package/psmisc/psmisc.mk
index b2ec834f96..e892147487 100644
--- a/package/psmisc/psmisc.mk
+++ b/package/psmisc/psmisc.mk
@@ -15,4 +15,10 @@ PSMISC_CONF_ENV:=ac_cv_func_malloc_0_nonnull=yes \
PSMISC_CONF_OPT:= $(DISABLE_NLS) $(DISABLE_IPV6)
PSMISC_DEPENDENCIES:=uclibc ncurses
+ifeq ($(BR2_ENABLE_LOCALE),y)
+# psmisc gets confused and forgets to link with libintl
+PSMISC_MAKE_OPT:=LIBS=-lintl
+PSMISC_DEPENDENCIES+= gettext libintl
+endif
+
$(eval $(call AUTOTARGETS,package,psmisc))