[OpenWrt-Devel] [PATCH] iproute2: fix compile with uClibc-ng

Stijn Tintel stijn at linux-ipv6.be
Thu Oct 29 16:51:12 EDT 2015


Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 package/network/utils/iproute2/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile
index 23834df..f5b5f4e 100644
--- a/package/network/utils/iproute2/Makefile
+++ b/package/network/utils/iproute2/Makefile
@@ -84,6 +84,9 @@ endif
 ifdef CONFIG_USE_MUSL
   TARGET_CFLAGS += -DHAVE_SETNS
 endif
+ifdef CONFIG_UCLIBC_USE_VERSION_NG
+  TARGET_CFLAGS += -DHAVE_SETNS
+endif
 
 TARGET_CFLAGS += -ffunction-sections -fdata-sections
 
-- 
2.4.10
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list