mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
iproute2: fix em_ipset build issue
Fixes http://autobuild.buildroot.net/results/be19e39c19b62946ea48dd6b3dfd55f5c3ccd7c9 em_ipset.c uses xtables.h from iptables, but the configure script fails to to check for this, so forcibly disable it if not available. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
22a6be4d43
commit
1b5ce0e9a2
@ -24,6 +24,11 @@ define IPROUTE2_WITH_IPTABLES
|
|||||||
$(SED) "s/-DIPT/-DXT/" $(IPROUTE2_DIR)/tc/Makefile
|
$(SED) "s/-DIPT/-DXT/" $(IPROUTE2_DIR)/tc/Makefile
|
||||||
echo "TC_CONFIG_XT:=y" >>$(IPROUTE2_DIR)/Config
|
echo "TC_CONFIG_XT:=y" >>$(IPROUTE2_DIR)/Config
|
||||||
endef
|
endef
|
||||||
|
else
|
||||||
|
define IPROUTE2_WITH_IPTABLES
|
||||||
|
# em_ipset needs xtables, but configure misdetects it
|
||||||
|
echo "TC_CONFIG_IPSET:=n" >>$(IPROUTE2_DIR)/Config
|
||||||
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define IPROUTE2_CONFIGURE_CMDS
|
define IPROUTE2_CONFIGURE_CMDS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user