From 863378ed27ef83d3254249bb22ba45dac88cb5ba Mon Sep 17 00:00:00 2001 From: Bartosz Bilas Date: Wed, 5 May 2021 21:22:10 +0200 Subject: [PATCH] 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 --- package/log4qt/log4qt.mk | 6 ++++++ 1 file changed, 6 insertions(+) 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)) -- 2.30.2