summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/syslog-ng/syslog-ng.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/syslog-ng/syslog-ng.mk b/package/syslog-ng/syslog-ng.mk
index f11d8957ac..1acaad8dea 100644
--- a/package/syslog-ng/syslog-ng.mk
+++ b/package/syslog-ng/syslog-ng.mk
@@ -20,6 +20,13 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
SYSLOG_NG_DEPENDENCIES += busybox
endif
+ifeq ($(BR2_PACKAGE_GEOIP),y)
+SYSLOG_NG_DEPENDENCIES += geoip
+SYSLOG_NG_CONF_OPTS += --enable-geoip
+else
+SYSLOG_NG_CONF_OPTS += --disable-geoip
+endif
+
ifeq ($(BR2_PACKAGE_LIBCAP),y)
SYSLOG_NG_DEPENDENCIES += libcap
SYSLOG_NG_CONF_OPTS += --enable-linux-caps
OpenPOWER on IntegriCloud