diff --git a/package/lighttpd/Config.in b/package/lighttpd/Config.in index 9f593a9228..ed674a9227 100644 --- a/package/lighttpd/Config.in +++ b/package/lighttpd/Config.in @@ -48,7 +48,7 @@ config BR2_PACKAGE_LIGHTTPD_BZIP2 config BR2_PACKAGE_LIGHTTPD_PCRE bool "pcre support" - select BR2_PACKAGE_PCRE + select BR2_PACKAGE_PCRE2 help Enable PCRE support. Needed to support mod_rewrite diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk index f0974dd5b2..2a05071209 100644 --- a/package/lighttpd/lighttpd.mk +++ b/package/lighttpd/lighttpd.mk @@ -26,6 +26,7 @@ LIGHTTPD_CONF_OPTS = \ -Dwith_mysql=false \ -Dwith_nettle=false \ -Dwith_nss=false \ + -Dwith_pcre=false \ -Dwith_pgsql=false \ -Dwith_sasl=false \ -Dwith_wolfssl=false \ @@ -65,10 +66,10 @@ LIGHTTPD_CONF_OPTS += -Dwith_bzip=false endif ifeq ($(BR2_PACKAGE_LIGHTTPD_PCRE),y) -LIGHTTPD_DEPENDENCIES += pcre -LIGHTTPD_CONF_OPTS += -Dwith_pcre=true +LIGHTTPD_DEPENDENCIES += pcre2 +LIGHTTPD_CONF_OPTS += -Dwith_pcre2=true else -LIGHTTPD_CONF_OPTS += -Dwith_pcre=false +LIGHTTPD_CONF_OPTS += -Dwith_pcre2=false endif ifeq ($(BR2_PACKAGE_LIGHTTPD_WEBDAV),y)