From a654d585ddf27ab38ee2c26d37b6b73fdb0cd0d2 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 23 Jul 2019 12:10:07 -0700 Subject: [PATCH] elektra: Switch to Lua 5.3 After the introduction of Lua 5.3 to OpenWrt, elektra picks it up instead of 5.1. Since 5.1 is unsupported anyway, switch to 5.3. Added liblua to PKG_BUILD_DEPENDS as the FindLua script is broken. Having it here allows compilation to continue. Signed-off-by: Rosen Penev --- libs/elektra/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/elektra/Makefile b/libs/elektra/Makefile index a38de8da5..d42d08e6f 100644 --- a/libs/elektra/Makefile +++ b/libs/elektra/Makefile @@ -15,7 +15,7 @@ PKG_NAME:=elektra PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=LICENSE.md PKG_VERSION:=0.8.21 -PKG_RELEASE:=3 +PKG_RELEASE:=4 # Use this for official releasees PKG_HASH:=51892570f18d1667d0da4d0908a091e41b41c20db9835765677109a3d150cd26 @@ -29,7 +29,8 @@ PKG_SOURCE_URL:=http://ftp.libelektra.org/ftp/elektra/releases #PKG_SOURCE_VERSION:=e97efb29a94f3a49cb952d06552fcf53708ea8c7 #PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz -PKG_BUILD_DEPENDS:=elektra/host swig/host +HOST_BUILD_DEPENDS:=swig/host +PKG_BUILD_DEPENDS:=elektra/host lua include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/host-build.mk @@ -261,7 +262,7 @@ endef define Package/libelektra-lua $(call Package/libelektra/Default) TITLE:=Elektra lua plugin - DEPENDS:=+libelektra-core +lua +libstdcpp + DEPENDS:=+libelektra-core +lua5.3 +libstdcpp endef define Package/libelektra-lua/description