From: Bartosz Bilas Date: Wed, 5 May 2021 19:22:10 +0000 (+0200) Subject: package/log4qt: add telnet optional logging X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=863378ed27ef83d3254249bb22ba45dac88cb5ba;p=buildroot.git package/log4qt: add telnet optional logging Telnet logging is an optional feature that's disabled by default. Signed-off-by: Bartosz Bilas Signed-off-by: Peter Korsgaard --- diff --git a/package/log4qt/log4qt.mk b/package/log4qt/log4qt.mk index 0594427cf7..7144d33e33 100644 --- a/package/log4qt/log4qt.mk +++ b/package/log4qt/log4qt.mk @@ -22,4 +22,10 @@ else LOG4QT_CONF_OPTS += -DBUILD_WITH_DB_LOGGING=OFF endif +ifeq ($(BR2_PACKAGE_QT5BASE_NETWORK),y) +LOG4QT_CONF_OPTS += -DBUILD_WITH_TELNET_LOGGING=ON +else +LOG4QT_CONF_OPTS += -DBUILD_WITH_TELNET_LOGGING=OFF +endif + $(eval $(cmake-package))