package/leafnode2: 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 leafnode2's libcrypt dependency this
broke the leafnode2 build using glibc version 2.39.
To fix this select the libxcrypt dependency to leafnode2 when using a
glibc toolchain and add the dependency if selected.
Fixes:
http://autobuild.buildroot.net/results/08f86ce128623105087cda0c5b32a1d0d0cfa166/
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
78470802b0
commit
f387594730
@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_LEAFNODE2
|
||||
bool "leafnode2"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
||||
select BR2_PACKAGE_PCRE
|
||||
help
|
||||
Leafnode-2 is a store-and-forward NNTP (or Usenet) proxy
|
||||
|
@ -14,6 +14,10 @@ LEAFNODE2_AUTORECONF = YES
|
||||
LEAFNODE2_CONF_ENV = \
|
||||
PCRECONFIG="$(STAGING_DIR)/usr/bin/pcre-config"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
||||
LEAFNODE2_DEPENDENCIES += libxcrypt
|
||||
endif
|
||||
|
||||
# --enable-runas-user use 'news' as default but the configure stop
|
||||
# if news doesn't exist on the build host.
|
||||
# Use 'root' while cross-compiling
|
||||
|
Loading…
Reference in New Issue
Block a user