diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index 03767ccda8..6f5ee51607 100644 --- a/package/iproute2/iproute2.mk +++ b/package/iproute2/iproute2.mk @@ -24,6 +24,11 @@ define IPROUTE2_WITH_IPTABLES $(SED) "s/-DIPT/-DXT/" $(IPROUTE2_DIR)/tc/Makefile echo "TC_CONFIG_XT:=y" >>$(IPROUTE2_DIR)/Config endef +else +define IPROUTE2_WITH_IPTABLES + # em_ipset needs xtables, but configure misdetects it + echo "TC_CONFIG_IPSET:=n" >>$(IPROUTE2_DIR)/Config +endef endif define IPROUTE2_CONFIGURE_CMDS