Просмотр исходного кода

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 <[email protected]>
Jonas Gorski 1 год назад
Родитель
Сommit
deeb29e6fe
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      package/system/apk/Makefile

+ 1 - 0
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 \