network/scrcpy: Support alternatives for ninja

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2021-07-04 12:47:53 +02:00
parent fdcc0cafe3
commit 64b79dda7c

View file

@ -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 \