mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/sngrep: remove optional support for pcre, keep pcre2
Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
59ae90f823
commit
3831283ca4
@@ -16,7 +16,7 @@ SNGREP_DEPENDENCIES = libpcap ncurses host-pkgconf
|
|||||||
SNGREP_CONF_ENV += \
|
SNGREP_CONF_ENV += \
|
||||||
$(if $(BR2_STATIC_LIBS),LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --libs`")
|
$(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.
|
# openssl and gnutls can't be enabled at the same time.
|
||||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
@@ -33,12 +33,9 @@ endif
|
|||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_PCRE2),y)
|
ifeq ($(BR2_PACKAGE_PCRE2),y)
|
||||||
SNGREP_DEPENDENCIES += pcre2
|
SNGREP_DEPENDENCIES += pcre2
|
||||||
SNGREP_CONF_OPTS += --without-pcre --with-pcre2
|
SNGREP_CONF_OPTS += --with-pcre2
|
||||||
else ifeq ($(BR2_PACKAGE_PCRE),y)
|
|
||||||
SNGREP_DEPENDENCIES += pcre
|
|
||||||
SNGREP_CONF_OPTS += --with-pcre --without-pcre2
|
|
||||||
else
|
else
|
||||||
SNGREP_CONF_OPTS += --without-pcre --without-pcre2
|
SNGREP_CONF_OPTS += --without-pcre2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||||
|
|||||||
Reference in New Issue
Block a user