package/rsyslog: add libdbi-drivers optional dependency

Needed in order to use omlibdbi module

Signed-off-by: Flávio Tapajós <flavio.tapajos@newtesc.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Flávio Tapajós 2023-11-29 08:02:58 -03:00 committed by Peter Korsgaard
parent 03e66a35ea
commit 6358bb3a9b

View File

@ -151,6 +151,13 @@ RSYSLOG_CONF_OPTS += \
--disable-omjournal
endif
ifeq ($(BR2_PACKAGE_LIBDBI_DRIVERS),y)
RSYSLOG_CONF_OPTS += --enable-libdbi
RSYSLOG_DEPENDENCIES += libdbi-drivers
else
RSYSLOG_CONF_OPTS += --disable-libdbi
endif
define RSYSLOG_INSTALL_INIT_SYSTEMD
$(INSTALL) -m 0644 -D package/rsyslog/rsyslog.service \
$(TARGET_DIR)/usr/lib/systemd/system/rsyslog.service