package/lighttpd: add xxhash mandatory dependency

Add xxhash mandatory dependency to avoid the following build failure
with the embedded xxhash (in version 0.8.1) and uclibc raised since
bump to version 1.4.63 in commit
2a00246645 and
23b07fa3ef:

/home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: src/lighttpd.p/algo_xxhash.c.o: in function `XXH32_canonicalFromHash':
/home/buildroot/autobuild/instance-0/output-1/build/lighttpd-1.4.63/build/../src/algo_xxhash.h:2282: undefined reference to `static_assert'

Fixes:
 - http://autobuild.buildroot.org/results/7b644dce244a1aa4a193a3196059a56b2c4c7591

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2021-12-15 22:38:23 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent cc0c90aa83
commit f7f7124ee0
2 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@ config BR2_PACKAGE_LIGHTTPD
bool "lighttpd"
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_XXHASH
help
lighttpd a secure, fast, compliant and very flexible
web-server which has been optimized for high-performance

View File

@ -11,7 +11,7 @@ LIGHTTPD_SITE = http://download.lighttpd.net/lighttpd/releases-$(LIGHTTPD_VERSIO
LIGHTTPD_LICENSE = BSD-3-Clause
LIGHTTPD_LICENSE_FILES = COPYING
LIGHTTPD_CPE_ID_VENDOR = lighttpd
LIGHTTPD_DEPENDENCIES = host-pkgconf
LIGHTTPD_DEPENDENCIES = host-pkgconf xxhash
LIGHTTPD_CONF_OPTS = \
-Dwith_brotli=false \
-Dwith_dbi=false \
@ -33,7 +33,7 @@ LIGHTTPD_CONF_OPTS = \
-Dwith_sasl=false \
-Dwith_wolfssl=false \
-Dwith_xattr=false \
-Dwith_xxhash=false \
-Dwith_xxhash=true \
-Dwith_zstd=false \
-Dbuild_extra_warnings=false \
-Dbuild_static=false \