From 64b79dda7cac380fe74296d515ce172ad0027f79 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sun, 4 Jul 2021 12:47:53 +0200 Subject: [PATCH] network/scrcpy: Support alternatives for ninja Signed-off-by: Heinz Wiesinger --- network/scrcpy/scrcpy.SlackBuild | 4 ++-- 1 file 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 \