mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 13:33:28 +08:00
package/polkit: add libxcrypt optional dependency
Fix the following build failure raised since bump of glibc to version 2.39 in commitb5680f53d6
: ../output-1/build/polkit-123/meson.build:267:18: ERROR: C shared or static library 'crypt' not found Fixes:b5680f53d6
- http://autobuild.buildroot.org/results/59926191d274b25e32e6bbd708f5aadb346d3171 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
102b0ae459
commit
55f3df2dbe
@ -10,6 +10,7 @@ config BR2_PACKAGE_POLKIT
|
||||
select BR2_PACKAGE_DUKTAPE
|
||||
select BR2_PACKAGE_EXPAT
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
||||
help
|
||||
PolicyKit is a toolkit for defining and handling
|
||||
authorizations. It is used for allowing unprivileged
|
||||
|
@ -30,6 +30,10 @@ else
|
||||
POLKIT_CONF_OPTS += -Dintrospection=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
||||
POLKIT_DEPENDENCIES += libxcrypt
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
||||
POLKIT_DEPENDENCIES += linux-pam
|
||||
POLKIT_CONF_OPTS += -Dauthfw=pam
|
||||
|
Loading…
Reference in New Issue
Block a user