summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/appstream-glib/appstream-glib.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/appstream-glib/appstream-glib.SlackBuild b/libraries/appstream-glib/appstream-glib.SlackBuild
index b09b62c0f3..ceb09fcefc 100644
--- a/libraries/appstream-glib/appstream-glib.SlackBuild
+++ b/libraries/appstream-glib/appstream-glib.SlackBuild
@@ -85,8 +85,9 @@ meson \
# not sure why this is necessary
sed -i "/^ COMMAND = \\/usr\\/bin\\/g-ir-scanner/s/-lyaml//" build/build.ninja
-ninja -C build
-DESTDIR=$PKG ninja -C build install
+"${NINJA:=ninja}"
+$NINJA -C build
+DESTDIR=$PKG $NINJA -C build install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true