From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH/next 3/3] keepalived: add libglib2 optional dependency
Date: Mon, 19 Nov 2018 19:06:50 +0100 [thread overview]
Message-ID: <20181119180650.30516-3-fontaine.fabrice@gmail.com> (raw)
In-Reply-To: <20181119180650.30516-1-fontaine.fabrice@gmail.com>
gio from libglib2 is used for dbus support
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/keepalived/keepalived.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/keepalived/keepalived.mk b/package/keepalived/keepalived.mk
index fa8b2e4112..ed80a79f8a 100644
--- a/package/keepalived/keepalived.mk
+++ b/package/keepalived/keepalived.mk
@@ -11,7 +11,6 @@ KEEPALIVED_LICENSE = GPL-2.0+
KEEPALIVED_LICENSE_FILES = COPYING
# 0001-configure.ac-do-not-force-PIE.patch
KEEPALIVED_AUTORECONF = YES
-KEEPALIVED_CONF_OPTS += --disable-dbus
ifeq ($(BR2_PACKAGE_JSON_C),y)
KEEPALIVED_DEPENDENCIES += json-c
@@ -20,6 +19,13 @@ else
KEEPALIVED_CONF_OPTS += --disable-json
endif
+ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
+KEEPALIVED_DEPENDENCIES += libglib2
+KEEPALIVED_CONF_OPTS += --enable-dbus
+else
+KEEPALIVED_CONF_OPTS += --disable-dbus
+endif
+
ifeq ($(BR2_PACKAGE_LIBNL)$(BR2_PACKAGE_LIBNFNETLINK),yy)
KEEPALIVED_DEPENDENCIES += libnl libnfnetlink
KEEPALIVED_CONF_OPTS += --enable-libnl
--
2.17.1
next prev parent reply other threads:[~2018-11-19 18:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-19 18:06 [Buildroot] [PATCH/next 1/3] keepalived: remove popt dependency Fabrice Fontaine
2018-11-19 18:06 ` [Buildroot] [PATCH/next 2/3] keepalive: add optional json-c dependency Fabrice Fontaine
2018-11-19 18:06 ` Fabrice Fontaine [this message]
2018-11-19 20:43 ` [Buildroot] [PATCH/next 1/3] keepalived: remove popt dependency Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181119180650.30516-3-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox