From 90fc4d74ae70b2cbe50e4cfcc4a7dfcea636344c Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 7 Apr 2024 15:05:50 +0200 Subject: [PATCH] package/nginx: select libxcrypt with glibc Fix the following build failure raised since bump of glibc to version 2.39 in commit b5680f53d60acf8ff6010082f873438a39bd5d97: In file included from src/core/ngx_config.h:26, from src/core/nginx.c:8: src/os/unix/ngx_linux_config.h:55:10: fatal error: crypt.h: No such file or directory 55 | #include | ^~~~~~~~~ Fixes: b5680f53d60acf8ff6010082f873438a39bd5d97 - http://autobuild.buildroot.org/results/a186fffc468f9c901626c47c4ce216ae501085b8 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/nginx/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/nginx/Config.in b/package/nginx/Config.in index 8e888baa1c..1c74f6e116 100644 --- a/package/nginx/Config.in +++ b/package/nginx/Config.in @@ -2,6 +2,7 @@ menuconfig BR2_PACKAGE_NGINX bool "nginx" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_LIBATOMIC_OPS if BR2_sparc_v8 || BR2_sparc_leon3 + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC help nginx is an HTTP and reverse proxy server, as well as a mail proxy server.