From 1fff6d9d3d8aed70d2d77f98f2f0d0f02641bab5 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 25 Aug 2008 09:05:00 +0000 Subject: psmic: locale support Closes #4274. --- package/psmisc/Config.in | 2 ++ package/psmisc/psmisc.mk | 6 ++++++ 2 files changed, 8 insertions(+) (limited to 'package/psmisc') diff --git a/package/psmisc/Config.in b/package/psmisc/Config.in index a9f71b954..e7ce70461 100644 --- a/package/psmisc/Config.in +++ b/package/psmisc/Config.in @@ -1,6 +1,8 @@ config BR2_PACKAGE_PSMISC bool "psmisc" select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_GETTEXT if BR2_ENABLE_LOCALE + select BR2_PACKAGE_LIBINTL if BR2_ENABLE_LOCALE help Helpful /proc related utilities such as pstree, fuser, and killall diff --git a/package/psmisc/psmisc.mk b/package/psmisc/psmisc.mk index b2ec834f9..e89214748 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)) -- cgit v1.2.3