apk: disable helptext for host build
authorPaul Spooren <mail@aparcar.org>
Fri, 17 May 2024 20:19:52 +0000 (23:19 +0300)
committerPaul Spooren <mail@aparcar.org>
Fri, 17 May 2024 20:21:26 +0000 (23:21 +0300)
The host build would need Lua to compile which currently adds a race
condition. Instead of tracking that down just disable helptext for the
host build.

Signed-off-by: Paul Spooren <mail@aparcar.org>
package/system/apk/Makefile

index 0f0e043986ba9437e9738e9bb7a7551261f1cadc..7aaf9f4c5ef8b715c94a62d5c72b0452b87cbee7 100644 (file)
@@ -17,8 +17,7 @@ PKG_LICENSE_FILES:=LICENSE
 PKG_INSTALL:=1
 
 HOST_BUILD_PREFIX:=$(STAGING_DIR_HOST)
-HOST_BUILD_DEPENDS:=lua/host
-PKG_BUILD_DEPENDS:=$(HOST_BUILD_DEPENDS)
+PKG_BUILD_DEPENDS:=lua/host
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/host-build.mk
@@ -53,7 +52,7 @@ MESON_HOST_VARS+=VERSION=$(PKG_VERSION)
 MESON_VARS+=VERSION=$(PKG_VERSION)
 
 MESON_HOST_ARGS += \
-       -Dlua_version=5.1 \
+       -Dhelp=disabled \
        -Dcompressed-help=false \
        -Ddocs=disabled \
        -Dcrypto_backend=openssl \