From: Jonas Gorski Date: Thu, 14 Nov 2024 10:21:41 +0000 (+0100) Subject: apk: host: set lua version to 5.1 to fix help X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=deeb29e6feccf1359d15f708a91bb53bc957bbe0;p=openwrt%2Fopenwrt.git apk: host: set lua version to 5.1 to fix help Commit b2a84c86e3 ("apk: host: make the help available") enabled the host build for lua (5.1) as a dependency, but apk defaults to lua 5.3. This caused it to ignore our lua, and only build the help if the host system had lua 5.3 installed. Fix this by explicitly setting the lua version to ours. Fixes: b2a84c86e3 ("apk: host: make the help available") Signed-off-by: Jonas Gorski --- diff --git a/package/system/apk/Makefile b/package/system/apk/Makefile index 2d637fa180..fec6d5325c 100644 --- a/package/system/apk/Makefile +++ b/package/system/apk/Makefile @@ -53,6 +53,7 @@ MESON_HOST_VARS+=VERSION=$(PKG_VERSION) MESON_VARS+=VERSION=$(PKG_VERSION) MESON_HOST_ARGS += \ + -Dlua_version=5.1 \ -Dcompressed-help=false \ -Ddocs=disabled \ -Durl_backend=wget \