diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2021-07-04 12:47:51 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2021-07-04 16:33:12 +0200 |
commit | f92ce597d78ba04d9e0e0600e9bbe2a6cd64e41d (patch) | |
tree | 199c2c62172ea3ea904e3241504da81ce975fb18 /libraries/libosinfo/libosinfo.SlackBuild | |
parent | 74b200408da38b3a89ca73f6a52d04bed5b37439 (diff) |
libraries/libosinfo: Support alternatives for ninja
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/libosinfo/libosinfo.SlackBuild')
-rw-r--r-- | libraries/libosinfo/libosinfo.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libosinfo/libosinfo.SlackBuild b/libraries/libosinfo/libosinfo.SlackBuild index cce73263b2f7..a8d33f0bc717 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 \ |