From 30e918133c3def291962f7f0b6b63aabe3620ba9 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 20 Apr 2019 22:42:52 +0200 Subject: [PATCH] package/linknx: add optional log4cpp dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/linknx/linknx.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/linknx/linknx.mk b/package/linknx/linknx.mk index e593feda36..15d4b5a109 100644 --- a/package/linknx/linknx.mk +++ b/package/linknx/linknx.mk @@ -13,7 +13,6 @@ LINKNX_INSTALL_STAGING = YES LINKNX_AUTORECONF = YES LINKNX_CONF_OPTS = \ --without-cppunit \ - --without-log4cpp \ --without-pth-test \ --with-pth=$(STAGING_DIR)/usr \ --disable-smtp @@ -29,6 +28,13 @@ else LINKNX_CONF_OPTS += --without-libcurl endif +ifeq ($(BR2_PACKAGE_LOG4CPP),y) +LINKNX_CONF_OPTS += --with-log4cpp +LINKNX_DEPENDENCIES += host-pkgconf log4cpp +else +LINKNX_CONF_OPTS += --without-log4cpp +endif + ifeq ($(BR2_PACKAGE_LUA),y) LINKNX_CONF_OPTS += --with-lua LINKNX_DEPENDENCIES += lua -- 2.30.2