From ca99c04d2676ba66b670b0eb17ed5fe5d37db4e2 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 22 Jul 2011 13:51:45 +0200 Subject: [PATCH] ipset: ensure target kernel headers are used ipsets configure script checks the kernel headers to ensure the kernel is new enough / has patch applied, and errors out if this is not so. Ensure that the target kernel headers are searched, rather than what is available on the build host. Signed-off-by: Peter Korsgaard --- package/ipset/ipset.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/ipset/ipset.mk b/package/ipset/ipset.mk index 9d901fc53e..700d2bc229 100644 --- a/package/ipset/ipset.mk +++ b/package/ipset/ipset.mk @@ -9,5 +9,6 @@ IPSET_SOURCE = ipset-$(IPSET_VERSION).tar.bz2 IPSET_SITE = http://ipset.netfilter.org IPSET_AUTORECONF = YES IPSET_DEPENDENCIES = libmnl host-pkg-config +IPSET_CONF_OPT = --with-ksource=$(LINUX_HEADERS_DIR) $(eval $(call AUTOTARGETS,package,ipset))