summaryrefslogtreecommitdiffstats
path: root/package/util-linux/Config.in
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-07-30 20:14:51 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-31 22:20:08 +0200
commit2df1a57ef21b2e4a06e64f678b5ceef8217d9c29 (patch)
treedbd14a74fce32e0c995770f18fdbbeeb6768a532 /package/util-linux/Config.in
parent2e6eb4296814a2077ad2e39504f790ab78328aad (diff)
downloadbuildroot-2df1a57ef21b2e4a06e64f678b5ceef8217d9c29.tar.gz
buildroot-2df1a57ef21b2e4a06e64f678b5ceef8217d9c29.zip
linux-pam: unavailable for static builds
Fixes: http://autobuild.buildroot.net/results/3bb/3bb8d4662995a11e8e6cc5fdaaba9e25d4c0e0ec/ [Thomas: add more details about the non availability for static builds as a comment in the Config.in file.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/util-linux/Config.in')
-rw-r--r--package/util-linux/Config.in16
1 files changed, 10 insertions, 6 deletions
diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index 28bda11e0b..934021af7e 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -58,13 +58,15 @@ config BR2_PACKAGE_UTIL_LINUX_ARCH
config BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH
bool "chfn/chsh"
- select BR2_PACKAGE_LINUX_PAM
depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
+ depends on !BR2_PREFER_STATIC_LIB
+ select BR2_PACKAGE_LINUX_PAM
help
Change login shell, real user name and information
-comment "chfn/chsh needs a toolchain w/ wchar, locale"
- depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR)
+comment "chfn/chsh needs a toolchain w/ wchar, locale, dynamic library"
+ depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
+ || BR2_PREFER_STATIC_LIB
config BR2_PACKAGE_UTIL_LINUX_CRAMFS
bool "cramfs utilities"
@@ -100,13 +102,15 @@ config BR2_PACKAGE_UTIL_LINUX_KILL
config BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS
bool "login utilities"
- depends on BR2_ENABLE_LOCALE # linux-pam
+ depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
+ depends on !BR2_PREFER_STATIC_LIB
select BR2_PACKAGE_LINUX_PAM
help
Build login utilities (last, login, su, sulogin)
-comment "login utilities needs a toolchain w/ locale"
- depends on !BR2_ENABLE_LOCALE
+comment "login utilities needs a toolchain w/ wchar, locale, dynamic library"
+ depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
+ || BR2_PREFER_STATIC_LIB
config BR2_PACKAGE_UTIL_LINUX_LOSETUP
bool "losetup"
OpenPOWER on IntegriCloud