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))