aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-03-27 19:12:48 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-27 20:10:50 +0100
commitab3673d99b59d8cb6fb062a7b893a25b08d85f65 (patch)
tree8a7a63c6a3ba7eb1dbde003e51324b7300f52aa9
parent5e1f99209ae6c3617db19507c7664d38cf1c9314 (diff)
downloadbuildroot-ab3673d99b59d8cb6fb062a7b893a25b08d85f65.tar.gz
buildroot-ab3673d99b59d8cb6fb062a7b893a25b08d85f65.tar.bz2
package/keepalived: add optional libnftnl dependency
nftables support has been added since version 2.0.11 and https://github.com/acassen/keepalived/commit/aa12175ea638912a7789e832634d7ccf80fdf48d Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/keepalived/keepalived.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/keepalived/keepalived.mk b/package/keepalived/keepalived.mk
index fcdb43ce13..15a1b0e9f4 100644
--- a/package/keepalived/keepalived.mk
+++ b/package/keepalived/keepalived.mk
@@ -46,4 +46,11 @@ else
KEEPALIVED_CONF_OPTS += --disable-libiptc
endif
+ifeq ($(BR2_PACKAGE_LIBNFTNL),y)
+KEEPALIVED_DEPENDENCIES += libnftnl
+KEEPALIVED_CONF_OPTS += --enable-nftables
+else
+KEEPALIVED_CONF_OPTS += --disable-nftables
+endif
+
$(eval $(autotools-package))