From 7105a54bcb1ec09bd71ed530ef16ac39a08c06c3 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Mon, 16 Mar 2015 12:25:06 +0000 Subject: packages: some (e)glibc fixes after r44701 Signed-off-by: Nicolas Thill git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44842 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/utils/iproute2/Makefile | 6 ++---- package/network/utils/iputils/Makefile | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'package/network/utils') diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index 56d2897e2a..a2dae6d61b 100644 --- a/package/network/utils/iproute2/Makefile +++ b/package/network/utils/iproute2/Makefile @@ -82,10 +82,8 @@ define Build/Configure > $(PKG_BUILD_DIR)/include/SNAPSHOT.h endef -ifdef CONFIG_USE_EGLIBC - ifndef CONFIG_EGLIBC_VERSION_2_13 - TARGET_CFLAGS += -DHAVE_SETNS - endif +ifdef CONFIG_USE_GLIBC + TARGET_CFLAGS += -DHAVE_SETNS endif ifdef CONFIG_USE_MUSL TARGET_CFLAGS += -DHAVE_SETNS diff --git a/package/network/utils/iputils/Makefile b/package/network/utils/iputils/Makefile index 1dc993cb81..8d7b84d6b5 100644 --- a/package/network/utils/iputils/Makefile +++ b/package/network/utils/iputils/Makefile @@ -68,7 +68,7 @@ endef define Package/iputils-ping6 $(call Package/iputils/Default) TITLE:=iputils - ping6 - DEPENDS+= @IPV6 +USE_EGLIBC:libopenssl + DEPENDS+= @IPV6 +USE_GLIBC:libopenssl endef define Package/iputils-ping6/description -- cgit v1.2.3