diff --git a/package/sngrep/sngrep.mk b/package/sngrep/sngrep.mk index 5399d041b5..1c812e0a07 100644 --- a/package/sngrep/sngrep.mk +++ b/package/sngrep/sngrep.mk @@ -16,7 +16,7 @@ SNGREP_DEPENDENCIES = libpcap ncurses host-pkgconf SNGREP_CONF_ENV += \ $(if $(BR2_STATIC_LIBS),LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --libs`") -SNGREP_CONF_OPTS += --disable-unicode +SNGREP_CONF_OPTS += --without-pcre --disable-unicode # openssl and gnutls can't be enabled at the same time. ifeq ($(BR2_PACKAGE_OPENSSL),y) @@ -33,12 +33,9 @@ endif ifeq ($(BR2_PACKAGE_PCRE2),y) SNGREP_DEPENDENCIES += pcre2 -SNGREP_CONF_OPTS += --without-pcre --with-pcre2 -else ifeq ($(BR2_PACKAGE_PCRE),y) -SNGREP_DEPENDENCIES += pcre -SNGREP_CONF_OPTS += --with-pcre --without-pcre2 +SNGREP_CONF_OPTS += --with-pcre2 else -SNGREP_CONF_OPTS += --without-pcre --without-pcre2 +SNGREP_CONF_OPTS += --without-pcre2 endif ifeq ($(BR2_PACKAGE_ZLIB),y)