mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/linux-pam: separate locale and wchar dependencies
They are currently expressed as such:
depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR)
which is not the common practice in Buildroot. We prefer to use:
depends on BR2_ENABLE_LOCALE
depends on BR2_USE_WCHAR
This commit ensures linux-pam is consistent with this best practice.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit ac9261edec)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
8d8d5d4d4d
commit
986fd8838f
@@ -1,6 +1,7 @@
|
|||||||
config BR2_PACKAGE_LINUX_PAM
|
config BR2_PACKAGE_LINUX_PAM
|
||||||
bool "linux-pam"
|
bool "linux-pam"
|
||||||
depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR)
|
depends on BR2_ENABLE_LOCALE
|
||||||
|
depends on BR2_USE_WCHAR
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
depends on BR2_USE_MMU # fork()
|
depends on BR2_USE_MMU # fork()
|
||||||
select BR2_PACKAGE_FLEX
|
select BR2_PACKAGE_FLEX
|
||||||
@@ -12,5 +13,5 @@ config BR2_PACKAGE_LINUX_PAM
|
|||||||
|
|
||||||
comment "linux-pam needs a toolchain w/ wchar, locale, dynamic library"
|
comment "linux-pam needs a toolchain w/ wchar, locale, dynamic library"
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR \
|
||||||
|| BR2_STATIC_LIBS
|
|| BR2_STATIC_LIBS
|
||||||
|
|||||||
Reference in New Issue
Block a user