mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/squid: 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 squid's libcrypt dependency this
broke the squid build using glibc version 2.39.
To fix this select the libxcrypt dependency to squid when using a
glibc toolchain and add the dependency if selected.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
9a5495b916
commit
330cb457fe
@@ -17,6 +17,7 @@ config BR2_PACKAGE_SQUID
|
||||
depends on BR2_USE_MMU
|
||||
select BR2_PACKAGE_LIBCAP
|
||||
select BR2_PACKAGE_LIBTOOL
|
||||
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
help
|
||||
Caching proxy for the Web supporting HTTP, HTTPS, FTP, and
|
||||
|
||||
@@ -52,6 +52,10 @@ else
|
||||
SQUID_CONF_OPTS += --without-mit-krb5
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
||||
SQUID_DEPENDENCIES += libxcrypt
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
SQUID_CONF_OPTS += --with-openssl
|
||||
SQUID_DEPENDENCIES += openssl
|
||||
|
||||
Reference in New Issue
Block a user