1 config BR2_PACKAGE_LINUX_PAM
3 select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
4 select BR2_PACKAGE_FLEX
5 depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR)
6 # While linux-pam does have some support for statically linked
7 # modules (through --enable-static-modules), it doesn't work
8 # properly due to a build cycle between libpam and
10 # https://lists.fedorahosted.org/pipermail/linux-pam-commits/2012-February/000105.html
12 depends on !BR2_STATIC_LIBS
13 depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
14 depends on BR2_USE_MMU # fork()
16 A Security Framework that Provides Authentication for Applications
20 comment "linux-pam needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library"
21 depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
22 || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL