libraries/libosinfo: Support alternatives for ninja

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2021-07-04 12:47:51 +02:00
parent 74b200408d
commit f92ce597d7

View file

@ -85,8 +85,8 @@ cd build
--sysconfdir=/etc \
-D with-usb-ids-path=/usr/share/hwdata/usb.ids \
-D with-pci-ids-path=/usr/share/hwdata/pci.ids
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 \