330cb457fe
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>
27 lines
806 B
Plaintext
27 lines
806 B
Plaintext
comment "squid needs a toolchain w/ C++, threads, gcc >= 8, host gcc >= 8"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \
|
|
!BR2_HOST_GCC_AT_LEAST_8
|
|
|
|
config BR2_PACKAGE_SQUID
|
|
bool "squid"
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17
|
|
depends on BR2_HOST_GCC_AT_LEAST_8 # C++17
|
|
# needs fork()
|
|
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
|
|
more.
|
|
|
|
http://www.squid-cache.org/
|