diff --git a/package/system/apk/Makefile b/package/system/apk/Makefile index fec6d5325c7..4ce8f21a48c 100644 --- a/package/system/apk/Makefile +++ b/package/system/apk/Makefile @@ -52,21 +52,20 @@ endef MESON_HOST_VARS+=VERSION=$(PKG_VERSION) MESON_VARS+=VERSION=$(PKG_VERSION) -MESON_HOST_ARGS += \ - -Dlua_version=5.1 \ +MESON_COMMON_ARGS = \ -Dcompressed-help=false \ -Ddocs=disabled \ + -Dlua_version=5.1 \ -Durl_backend=wget \ - -Dcrypto_backend=openssl \ -Dzstd=false +MESON_HOST_ARGS += \ + $(MESON_COMMON_ARGS) \ + -Dcrypto_backend=openssl + MESON_ARGS += \ - -Dlua_version=5.1 \ - -Dcompressed-help=false \ - -Ddocs=disabled \ - -Durl_backend=wget \ - -Dcrypto_backend=$(BUILD_VARIANT) \ - -Dzstd=false + $(MESON_COMMON_ARGS) \ + -Dcrypto_backend=$(BUILD_VARIANT) HOST_LDFLAGS += \ -Wl,-rpath $(STAGING_DIR_HOST)/lib