diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2017-12-01 20:09:57 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-12-01 22:39:07 +0100 |
commit | c32968def5a09bf318a28a025690ed5719994a9a (patch) | |
tree | 450ee81316f4453ca363a823fb971eae362dec68 /package/linknx | |
parent | 22c8b9fce95740c2d34d533110f6c2c6cfd77203 (diff) | |
download | buildroot-c32968def5a09bf318a28a025690ed5719994a9a.tar.gz buildroot-c32968def5a09bf318a28a025690ed5719994a9a.zip |
package/linknx: add lua as optional dependency
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/linknx')
-rw-r--r-- | package/linknx/linknx.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/package/linknx/linknx.mk b/package/linknx/linknx.mk index 7965ce4e16..dfabef550e 100644 --- a/package/linknx/linknx.mk +++ b/package/linknx/linknx.mk @@ -9,7 +9,6 @@ LINKNX_SITE = $(call github,linknx,linknx,$(LINKNX_VERSION)) LINKNX_LICENSE = GPL-2.0+ LINKNX_INSTALL_STAGING = YES LINKNX_CONF_OPTS = \ - --without-lua \ --without-log4cpp \ --without-pth-test \ --with-pth=$(STAGING_DIR)/usr \ @@ -25,6 +24,13 @@ else LINKNX_CONF_OPTS += --without-libcurl endif +ifeq ($(BR2_PACKAGE_LUA),y) +LINKNX_CONF_OPTS += --with-lua +LINKNX_DEPENDENCIES += lua +else +LINKNX_CONF_OPTS += --without-lua +endif + ifeq ($(BR2_PACKAGE_MYSQL),y) LINKNX_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr LINKNX_DEPENDENCIES += mysql |