summaryrefslogtreecommitdiff
path: root/network/scrcpy
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 12:47:53 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 16:33:14 +0200
commit64b79dda7cac380fe74296d515ce172ad0027f79 (patch)
treed8f6e6282c8d6f099f24d744ef8035806e957e5d /network/scrcpy
parentfdcc0cafe34efffa6dc21f6002090c7acabc5121 (diff)
downloadslackbuilds-64b79dda7cac380fe74296d515ce172ad0027f79.tar.gz
network/scrcpy: Support alternatives for ninja
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'network/scrcpy')
-rw-r--r--network/scrcpy/scrcpy.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/scrcpy/scrcpy.SlackBuild b/network/scrcpy/scrcpy.SlackBuild
index d5d4c2c410..62dbd36abc 100644
--- a/network/scrcpy/scrcpy.SlackBuild
+++ b/network/scrcpy/scrcpy.SlackBuild
@@ -84,8 +84,8 @@ cd build
--strip \
-Db_lto=true \
-Dprebuilt_server=$CWD/scrcpy-server-v$VERSION
- 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 \