From f92ce597d78ba04d9e0e0600e9bbe2a6cd64e41d Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sun, 4 Jul 2021 12:47:51 +0200 Subject: libraries/libosinfo: Support alternatives for ninja Signed-off-by: Heinz Wiesinger --- libraries/libosinfo/libosinfo.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libraries/libosinfo/libosinfo.SlackBuild') diff --git a/libraries/libosinfo/libosinfo.SlackBuild b/libraries/libosinfo/libosinfo.SlackBuild index cce73263b2f7b..a8d33f0bc7176 100644 --- a/libraries/libosinfo/libosinfo.SlackBuild +++ b/libraries/libosinfo/libosinfo.SlackBuild @@ -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 \ -- cgit v1.2.3