aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 12:47:51 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 16:33:12 +0200
commit73cf5fdd23bebae309c844f91eb38ea0f531a890 (patch)
tree716ee63d02ba78002788ee5c548b636d49f41c29
parent1f6b584b28091a2dfdae0396714c2efacd7d6926 (diff)
libraries/libvirt-glib: Support alternatives for ninja
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r--libraries/libvirt-glib/libvirt-glib.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libvirt-glib/libvirt-glib.SlackBuild b/libraries/libvirt-glib/libvirt-glib.SlackBuild
index 036bfa9bccba..7f45ca4c6d03 100644
--- a/libraries/libvirt-glib/libvirt-glib.SlackBuild
+++ b/libraries/libvirt-glib/libvirt-glib.SlackBuild
@@ -76,8 +76,8 @@ cd build
--buildtype=release \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--prefix=/usr
- ninja
- DESTDIR=$PKG ninja install
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \