diff --git a/package/apache/Config.in b/package/apache/Config.in index 270296bce4..bc3133ea00 100644 --- a/package/apache/Config.in +++ b/package/apache/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_APACHE depends on BR2_USE_MMU # apr select BR2_PACKAGE_APR_UTIL select BR2_PACKAGE_PCRE2 + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC help The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating diff --git a/package/apache/apache.mk b/package/apache/apache.mk index 1b095c5eb1..619d13726e 100644 --- a/package/apache/apache.mk +++ b/package/apache/apache.mk @@ -52,6 +52,10 @@ else APACHE_CONF_OPTS += --disable-brotli endif +ifeq ($(BR2_PACKAGE_LIBXCRYPT),y) +APACHE_DEPENDENCIES += libxcrypt +endif + ifeq ($(BR2_PACKAGE_LIBXML2),y) APACHE_DEPENDENCIES += libxml2 # Apache wants the path to the header file, where it can find