aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-03 10:58:17 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-03 12:17:20 +0200
commit2ec2417cad84310e65314bc573976b2ee38eaa6a (patch)
tree711365472deba979c6169ae12c2712f34a3eb9e0
parentaf8870dfa400f83c2317c3a22ff141a54e7b7967 (diff)
meson-template.SlackBuild: Support alternative ninja implementations
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r--meson-template.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson-template.SlackBuild b/meson-template.SlackBuild
index 57fdd76..598373d 100644
--- a/meson-template.SlackBuild
+++ b/meson-template.SlackBuild
@@ -127,8 +127,8 @@ cd build
--prefix=/usr \
--sysconfdir=/etc \
-Dstrip=true
- ninja
- DESTDIR=$PKG ninja install
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
cd ..
# Don't ship .la files: