aboutsummaryrefslogtreecommitdiff
path: root/package/linux-pam
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-07-30 20:14:51 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-31 22:20:08 +0200
commit2df1a57ef21b2e4a06e64f678b5ceef8217d9c29 (patch)
treedbd14a74fce32e0c995770f18fdbbeeb6768a532 /package/linux-pam
parent2e6eb4296814a2077ad2e39504f790ab78328aad (diff)
downloadbuildroot-2df1a57ef21b2e4a06e64f678b5ceef8217d9c29.tar.gz
buildroot-2df1a57ef21b2e4a06e64f678b5ceef8217d9c29.tar.bz2
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/linux-pam')
-rw-r--r--package/linux-pam/Config.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/package/linux-pam/Config.in b/package/linux-pam/Config.in
index 88bdd4f2d1..c2cfdc00be 100644
--- a/package/linux-pam/Config.in
+++ b/package/linux-pam/Config.in
@@ -3,10 +3,18 @@ config BR2_PACKAGE_LINUX_PAM
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
select BR2_PACKAGE_FLEX
depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR)
+ # While linux-pam does have some support for statically linked
+ # modules (through --enable-static-modules), it doesn't work
+ # properly due to a build cycle between libpam and
+ # modules. See
+ # https://lists.fedorahosted.org/pipermail/linux-pam-commits/2012-February/000105.html
+ # for details.
+ depends on !BR2_PREFER_STATIC_LIB
help
A Security Framework that Provides Authentication for Applications
http://linux-pam.org
-comment "linux-pam needs a toolchain w/ wchar, locale"
- depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR)
+comment "linux-pam needs a toolchain w/ wchar, locale, dynamic library"
+ depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
+ || BR2_PREFER_STATIC_LIB