package/dovecot: add optional dependency to libxcrypt
When glibc was bumped to version 2.39 in commit
b5680f53d6
it removed the deprecated
libcrypt support.
As glibc's libcrypt was providing dovecot's libcrypt dependency this
broke the dovecot build using glibc version 2.39.
To fix this select the libxcrypt dependency to dovecot when using a
glibc toolchain and add the dependency if selected.
Fixes:
http://autobuild.buildroot.net/results/99d816fb7a033ec73a958200041f0dcd728e0e87/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
2402e0f1d3
commit
cbd22bacff
@ -2,6 +2,7 @@ config BR2_PACKAGE_DOVECOT
|
||||
bool "dovecot"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
|
@ -73,6 +73,10 @@ else
|
||||
DOVECOT_CONF_OPTS += --without-sodium
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
||||
DOVECOT_DEPENDENCIES += libxcrypt
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
||||
DOVECOT_CONF_OPTS += --with-pam
|
||||
DOVECOT_DEPENDENCIES += linux-pam
|
||||
|
Loading…
Reference in New Issue
Block a user