package/uhttpd: add libxcrypt optional dependency
Fix the following build failure raised since bump of glibc to version 2.39 in commitb5680f53d6
: /home/autobuild/autobuild/instance-4/output-1/host/lib/gcc/armeb-buildroot-linux-gnueabi/12.3.0/../../../../armeb-buildroot-linux-gnueabi/bin/ld: CMakeFiles/uhttpd.dir/main.c.o: in function `main': /home/autobuild/autobuild/instance-4/output-1/build/uhttpd-15346de8d3ba422002496526ee24c62a3601ab8c/main.c:437:(.text.startup+0x628): undefined reference to `crypt' Fixes:b5680f53d6
- http://autobuild.buildroot.org/results/ccd789b301b6ddcca1b29e26d5cc48d54427a001 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
a1858231b2
commit
a7d9080d6c
@ -5,6 +5,7 @@ config BR2_PACKAGE_UHTTPD
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_LIBUBOX
|
||||
select BR2_PACKAGE_JSON_C
|
||||
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
||||
help
|
||||
uHTTPd is a tiny single threaded HTTP server with TLS, CGI
|
||||
and Lua support. It is intended as a drop-in replacement for
|
||||
|
@ -11,6 +11,10 @@ UHTTPD_LICENSE = ISC
|
||||
UHTTPD_LICENSE_FILES = uhttpd.h
|
||||
UHTTPD_DEPENDENCIES = libubox json-c
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
||||
UHTTPD_DEPENDENCIES += libxcrypt
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUA_5_1),y)
|
||||
UHTTPD_DEPENDENCIES += lua
|
||||
UHTTPD_CONF_OPTS += -DLUA_SUPPORT=ON
|
||||
|
Loading…
Reference in New Issue
Block a user