From 5ef89f1ec5d3053c571fee1a8d6313cdb817ef1a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 19 Oct 2014 23:04:17 +0000 Subject: iproute2: fix musl build Signed-off-by: Felix Fietkau SVN-Revision: 42981 --- package/network/utils/iproute2/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/network/utils/iproute2/Makefile') diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index e2f4b0218a..0b9134e0c9 100644 --- a/package/network/utils/iproute2/Makefile +++ b/package/network/utils/iproute2/Makefile @@ -81,6 +81,9 @@ ifdef CONFIG_USE_EGLIBC TARGET_CFLAGS += -DHAVE_SETNS endif endif +ifdef CONFIG_USE_MUSL + TARGET_CFLAGS += -DHAVE_SETNS +endif TARGET_CFLAGS += -ffunction-sections -fdata-sections -- cgit v1.2.3