psmic: locale support

Closes #4274.
This commit is contained in:
Peter Korsgaard 2008-08-25 09:05:00 +00:00
parent 402042a7ed
commit 1fff6d9d3d
2 changed files with 8 additions and 0 deletions

View file

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

View file

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