aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adrien Decostre <ad.decostre@gmail.com>2016-06-15 15:17:48 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-18 15:11:59 +0200
commit3984a4e306acdeeba9bc2c326003852eeb1ed295 (patch)
tree74e3d9e83894d951bf99f7964a9587dea841447d
parent9cfc842ae62e32abab00aedb310e61e7b8060a9a (diff)
downloadbuildroot-3984a4e306acdeeba9bc2c326003852eeb1ed295.tar.gz
buildroot-3984a4e306acdeeba9bc2c326003852eeb1ed295.tar.bz2
rsyslog: add optional gnutls support
[Peter: drop explicit option and handle like other dependencies] Signed-off-by: Adrien Decostre <ad.decostre@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/rsyslog/rsyslog.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/rsyslog/rsyslog.mk b/package/rsyslog/rsyslog.mk
index 40e3b33825..18a57372fd 100644
--- a/package/rsyslog/rsyslog.mk
+++ b/package/rsyslog/rsyslog.mk
@@ -22,6 +22,13 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
RSYSLOG_DEPENDENCIES += busybox
endif
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+RSYSLOG_DEPENDENCIES += gnutls
+RSYSLOG_CONF_OPTS += --enable-gnutls
+else
+RSYSLOG_CONF_OPTS += --disable-gnutls
+endif
+
ifeq ($(BR2_PACKAGE_LIBEE),y)
RSYSLOG_DEPENDENCIES += libee
endif