diff --git a/package/hiawatha/Config.in b/package/hiawatha/Config.in index 4b1a3ca86c..0c35734c34 100644 --- a/package/hiawatha/Config.in +++ b/package/hiawatha/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_HIAWATHA depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_ZLIB help Hiawatha is a webserver for Unix and has been built with diff --git a/package/hiawatha/hiawatha.mk b/package/hiawatha/hiawatha.mk index 2ba8efb2fe..3e9cf2571b 100644 --- a/package/hiawatha/hiawatha.mk +++ b/package/hiawatha/hiawatha.mk @@ -47,6 +47,10 @@ else HIAWATHA_CONF_OPTS += -DENABLE_TLS=OFF endif +ifeq ($(BR2_PACKAGE_LIBXCRYPT),y) +HIAWATHA_DEPENDENCIES += libxcrypt +endif + ifeq ($(BR2_PACKAGE_LIBXSLT),y) HIAWATHA_CONF_OPTS += -DENABLE_XSLT=ON HIAWATHA_DEPENDENCIES += libxslt