package/keepalived: add optional libnftnl dependency

nftables support has been added since version 2.0.11 and
aa12175ea6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2019-03-27 19:12:48 +01:00 committed by Thomas Petazzoni
parent 5e1f99209a
commit ab3673d99b

View File

@ -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))