summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-07-22 13:51:45 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-22 13:51:45 +0200
commitca99c04d2676ba66b670b0eb17ed5fe5d37db4e2 (patch)
tree018fa222ee5c4c5e68d86609fcfb178ebae63303 /package
parentd58aab892ec95b9a4bdb48a15440212cd7f23d77 (diff)
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 <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/ipset/ipset.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/ipset/ipset.mk b/package/ipset/ipset.mk
index 9d901fc53..700d2bc22 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))