Skip to content

Commit 954d2ad

Browse files
committed
apk: move common meson args to its own variable
Most apk meson args are shared between host and target builds, so lets have a common variable for them. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
1 parent deeb29e commit 954d2ad

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

package/system/apk/Makefile

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,20 @@ endef
5252
MESON_HOST_VARS+=VERSION=$(PKG_VERSION)
5353
MESON_VARS+=VERSION=$(PKG_VERSION)
5454

55-
MESON_HOST_ARGS += \
56-
-Dlua_version=5.1 \
55+
MESON_COMMON_ARGS = \
5756
-Dcompressed-help=false \
5857
-Ddocs=disabled \
58+
-Dlua_version=5.1 \
5959
-Durl_backend=wget \
60-
-Dcrypto_backend=openssl \
6160
-Dzstd=false
6261

62+
MESON_HOST_ARGS += \
63+
$(MESON_COMMON_ARGS) \
64+
-Dcrypto_backend=openssl
65+
6366
MESON_ARGS += \
64-
-Dlua_version=5.1 \
65-
-Dcompressed-help=false \
66-
-Ddocs=disabled \
67-
-Durl_backend=wget \
68-
-Dcrypto_backend=$(BUILD_VARIANT) \
69-
-Dzstd=false
67+
$(MESON_COMMON_ARGS) \
68+
-Dcrypto_backend=$(BUILD_VARIANT)
7069

7170
HOST_LDFLAGS += \
7271
-Wl,-rpath $(STAGING_DIR_HOST)/lib

0 commit comments

Comments
 (0)