瀏覽代碼

if uClibc_config.h doesnt exist yet, make sure grep doesnt complain about it

Mike Frysinger 19 年之前
父節點
當前提交
f387597064
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/ipsec-tools/ipsec-tools.mk

+ 1 - 1
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)