summaryrefslogtreecommitdiffstats
path: root/package/ipsec-tools/ipsec-tools.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/ipsec-tools/ipsec-tools.mk')
-rw-r--r--package/ipsec-tools/ipsec-tools.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/ipsec-tools/ipsec-tools.mk b/package/ipsec-tools/ipsec-tools.mk
index 220d05c58..4d535565f 100644
--- a/package/ipsec-tools/ipsec-tools.mk
+++ b/package/ipsec-tools/ipsec-tools.mk
@@ -42,7 +42,7 @@ IPSEC_TOOLS_CONFIG_FLAGS+= --disable-stats
endif
# At first check, if uClibc supports IPv6
-ifeq ($(shell grep -q '__UCLIBC_HAS_IPV6__ 1' \
+ifeq ($(shell grep -qs '__UCLIBC_HAS_IPV6__ 1' \
$(STAGING_DIR)/include/bits/uClibc_config.h && echo IPV6), IPV6)
ifeq ($(strip $(BR2_PACKAGE_IPSEC_TOOLS_IPV6)), y)