aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-04-20 22:42:52 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-04-21 12:07:22 +0200
commit30e918133c3def291962f7f0b6b63aabe3620ba9 (patch)
tree199f68bbdf0e3ed72198918537cfcaaec115bb2b
parent8ba753c60cd1c0a6ecc9e1a817b6c6f0abe92803 (diff)
downloadbuildroot-30e918133c3def291962f7f0b6b63aabe3620ba9.tar.gz
buildroot-30e918133c3def291962f7f0b6b63aabe3620ba9.tar.bz2
package/linknx: add optional log4cpp dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/linknx/linknx.mk8
1 files changed, 7 insertions, 1 deletions
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