package/clamav: add optional dependency to pcre2
Upstream recommends pcre2 over pcre:
1f71c2b21c
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
0e424610bc
commit
e1cfe35066
@ -76,7 +76,10 @@ else
|
|||||||
CLAMAV_CONF_OPTS += --without-iconv
|
CLAMAV_CONF_OPTS += --without-iconv
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_PCRE),y)
|
ifeq ($(BR2_PACKAGE_PCRE2),y)
|
||||||
|
CLAMAV_CONF_OPTS += --with-pcre=$(STAGING_DIR)/usr
|
||||||
|
CLAMAV_DEPENDENCIES += pcre2
|
||||||
|
else ifeq ($(BR2_PACKAGE_PCRE),y)
|
||||||
CLAMAV_CONF_OPTS += --with-pcre=$(STAGING_DIR)/usr
|
CLAMAV_CONF_OPTS += --with-pcre=$(STAGING_DIR)/usr
|
||||||
CLAMAV_DEPENDENCIES += pcre
|
CLAMAV_DEPENDENCIES += pcre
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user