aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 12:47:49 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 16:33:10 +0200
commitfff6936939656a89c436a3cb7047e1e82951a36c (patch)
tree3b3c429fc250b187e1c5467183c2bdf941d4bfbb
parent0a59c344ba81ed242b3e7f700c8413040ef0b262 (diff)
libraries/dav1d: Support alternatives for ninja
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r--libraries/dav1d/dav1d.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/dav1d/dav1d.SlackBuild b/libraries/dav1d/dav1d.SlackBuild
index 5014ed3da705..8fc453b1159e 100644
--- a/libraries/dav1d/dav1d.SlackBuild
+++ b/libraries/dav1d/dav1d.SlackBuild
@@ -78,8 +78,8 @@ cd build
--buildtype=release \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--prefix=/usr
- 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 \