aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 12:47:52 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 16:33:13 +0200
commit399aff41fdde8e0ea3213c6e470e2ba1cfbad76f (patch)
treec01cdc03de99c6b96c6d2ebb06d859bc2ae2a245
parentde4500f4c866c324ecc00fee094075f8eaea4546 (diff)
libraries/virglrenderer: Support alternatives for ninja
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r--libraries/virglrenderer/virglrenderer.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/virglrenderer/virglrenderer.SlackBuild b/libraries/virglrenderer/virglrenderer.SlackBuild
index 117516db0c11..bc74d310ef11 100644
--- a/libraries/virglrenderer/virglrenderer.SlackBuild
+++ b/libraries/virglrenderer/virglrenderer.SlackBuild
@@ -83,8 +83,8 @@ cd build
--mandir=/usr/man \
--prefix=/usr \
--sysconfdir=/etc
- ninja
- DESTDIR=$PKG ninja install
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \