|
@@ -14,8 +14,15 @@ SNGREP_DEPENDENCIES = libpcap ncurses host-pkgconf
|
|
|
SNGREP_CONF_ENV += \
|
|
|
$(if $(BR2_STATIC_LIBS),LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --libs`")
|
|
|
|
|
|
-# our ncurses wchar support is not properly detected
|
|
|
+# This patch fixes ncurses wchar detection
|
|
|
+SNGREP_PATCH = \
|
|
|
+ https://github.com/irontec/sngrep/pull/191/commits/4740f3341a99eaec105dee202a6fa7828212cdf1.patch
|
|
|
+
|
|
|
+ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
|
|
|
+SNGREP_CONF_OPTS += --enable-unicode
|
|
|
+else
|
|
|
SNGREP_CONF_OPTS += --disable-unicode
|
|
|
+endif
|
|
|
|
|
|
# openssl and gnutls can't be enabled at the same time.
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|