libraries/virglrenderer: Support alternatives for ninja

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2021-07-04 12:47:52 +02:00
parent de4500f4c8
commit 399aff41fd

View file

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