From 2562e2e6eede20e1acaf0c47d4d040263177ec1e Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 19 Jun 2022 18:46:10 +0200 Subject: [PATCH] package/rsyslog: add libmaxminddb optional dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/rsyslog/rsyslog.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/rsyslog/rsyslog.mk b/package/rsyslog/rsyslog.mk index 4e08af3167..cb81b89b44 100644 --- a/package/rsyslog/rsyslog.mk +++ b/package/rsyslog/rsyslog.mk @@ -81,6 +81,13 @@ else RSYSLOG_CONF_OPTS += --disable-libgcrypt endif +ifeq ($(BR2_PACKAGE_LIBMAXMINDDB),y) +RSYSLOG_DEPENDENCIES += libmaxminddb +RSYSLOG_CONF_OPTS += --enable-mmdblookup +else +RSYSLOG_CONF_OPTS += --disable-mmdblookup +endif + ifeq ($(BR2_PACKAGE_LIBPCAP),y) RSYSLOG_DEPENDENCIES += libpcap RSYSLOG_CONF_OPTS += --enable-impcap