Преглед на файлове

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>
Peter Korsgaard преди 14 години
родител
ревизия
ca99c04d26
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      package/ipset/ipset.mk

+ 1 - 0
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))