aboutsummaryrefslogtreecommitdiff
path: root/package/keepalived
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2017-03-20 22:52:41 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-20 21:55:29 +0100
commite64f876bab5eadab55805557963a0745289b3749 (patch)
tree462537cfe55d2e617f757b59ea8b15b5f19aca66 /package/keepalived
parentc72bc729fb01442233f733ef40605fec8634e530 (diff)
downloadbuildroot-e64f876bab5eadab55805557963a0745289b3749.tar.gz
buildroot-e64f876bab5eadab55805557963a0745289b3749.tar.bz2
keepalived: fix libnl optional dependency
List libnl as a dependency when it is enabled. Make sure that libnfnetlink is actually enabled when listing it as a dependency. Cc: Ilias Apalodimas <apalos@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/keepalived')
-rw-r--r--package/keepalived/keepalived.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/keepalived/keepalived.mk b/package/keepalived/keepalived.mk
index 97a4daa8b6..95757ff681 100644
--- a/package/keepalived/keepalived.mk
+++ b/package/keepalived/keepalived.mk
@@ -13,8 +13,8 @@ KEEPALIVED_CONF_OPTS += --disable-dbus
KEEPALIVED_PATCH = https://github.com/acassen/keepalived/commit/5d98b7b69fcbba84fa69e5b5e9a019bfbcb76e8b.patch
-ifeq ($(BR2_PACKAGE_LIBNL),y)
-KEEPALIVED_DEPENDENCIES += libnfnetlink
+ifeq ($(BR2_PACKAGE_LIBNL)$(BR2_PACKAGE_LIBNFNETLINK),yy)
+KEEPALIVED_DEPENDENCIES += libnl libnfnetlink
endif
ifeq ($(BR2_PACKAGE_IPSET),y)