keepalived: fix compile
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 17 Nov 2013 17:09:09 +0000 (17:09 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 17 Nov 2013 17:09:09 +0000 (17:09 +0000)
newer kernels (3.7) split user side headers

should fix: #12875

Should the patch be compatible with older kernels too?
(see https://dev.openwrt.org/ticket/12875#comment:6 )

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 38841

net/keepalived/Makefile

index d7396b23b6d19201a02135237b8a427cebaf5a5c..b7ac46a5b0aa51711c7e67e0cf35803348ea6d37 100644 (file)
@@ -43,7 +43,7 @@ CONFIGURE_ARGS+= \
        --disable-strip \
        --disable-lvs \
        --disable-lvs-syncd \
-       --with-kernel-dir="$(LINUX_DIR)"
+       --with-kernel-dir="$(LINUX_DIR)/$(LINUX_UAPI_DIR)"
 
 CONFIGURE_VARS+= \
        ac_cv_file_$(call acvar,$(LINUX_DIR)/net/core/link_watch.c)=yes