lighttpd: fix package DEPENDS syntax
authorGlenn Strauss <gstrauss@gluelogic.com>
Fri, 14 Apr 2023 19:19:36 +0000 (15:19 -0400)
committerGlenn Strauss <gstrauss@gluelogic.com>
Fri, 14 Apr 2023 19:21:16 +0000 (15:21 -0400)
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
net/lighttpd/Makefile

index 0377e0ffd506ae830fe9d0c2c00fd6d8d3db239a..d8faa2b986f3b5711e2a8a63797d4bc4f99eae70 100644 (file)
@@ -87,8 +87,10 @@ define Package/lighttpd
   $(call Package/lighttpd/Default)
   MENU:=1
   DEPENDS:=+libpthread +LIGHTTPD_LOGROTATE:logrotate \
-           $(if $(CONFIG_LIGHTTPD_PCRE2),+libpcre2,) \
-           $(if $(cryptolib),+$(cryptolib),)
+           +LIGHTTPD_PCRE2:libpcre2 \
+           +LIGHTTPD_CRYPTOLIB_NETTLE:libnettle \
+           +LIGHTTPD_CRYPTOLIB_MBEDTLS:libmbedtls \
+           +LIGHTTPD_CRYPTOLIB_WOLFSSL:libwolfssl
   TITLE:=A flexible and lightweight web server
 endef