mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/openrc: add libxcrypt optional dependency
Fix the following build failure raised since bump of glibc to version 2.39 in commitb5680f53d6: ../output-1/build/openrc-0.52.1/meson.build:129:21: ERROR: C shared or static library 'crypt' not found Fixes:b5680f53d6- http://autobuild.buildroot.org/results/52187a593d3da39051e635a9cb5a19d5bfe2bef6 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:
committed by
Yann E. MORIN
parent
21c2a8ef8f
commit
d5e31164c9
@@ -7,6 +7,7 @@ config BR2_PACKAGE_OPENRC
|
|||||||
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # kmod tools
|
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # kmod tools
|
||||||
select BR2_PACKAGE_KMOD # runtime
|
select BR2_PACKAGE_KMOD # runtime
|
||||||
select BR2_PACKAGE_KMOD_TOOLS # runtime
|
select BR2_PACKAGE_KMOD_TOOLS # runtime
|
||||||
|
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
||||||
select BR2_PACKAGE_NCURSES
|
select BR2_PACKAGE_NCURSES
|
||||||
help
|
help
|
||||||
Init that works on top of pid 1 (for example
|
Init that works on top of pid 1 (for example
|
||||||
|
|||||||
@@ -33,6 +33,10 @@ else
|
|||||||
OPENRC_CONF_OPTS += -Dselinux=disabled
|
OPENRC_CONF_OPTS += -Dselinux=disabled
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
||||||
|
OPENRC_DEPENDENCIES += libxcrypt
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
||||||
OPENRC_CONF_OPTS += -Dpam=true
|
OPENRC_CONF_OPTS += -Dpam=true
|
||||||
OPENRC_DEPENDENCIES += linux-pam
|
OPENRC_DEPENDENCIES += linux-pam
|
||||||
|
|||||||
Reference in New Issue
Block a user