aboutsummaryrefslogtreecommitdiff
path: root/graphics/gthumb/gthumb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gthumb/gthumb.SlackBuild')
-rw-r--r--graphics/gthumb/gthumb.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/gthumb/gthumb.SlackBuild b/graphics/gthumb/gthumb.SlackBuild
index 07f847916b56..b9292cb35963 100644
--- a/graphics/gthumb/gthumb.SlackBuild
+++ b/graphics/gthumb/gthumb.SlackBuild
@@ -86,8 +86,9 @@ meson setup \
--localstatedir=/var \
--buildtype=release \
build || exit 1
-ninja -C build || exit 1
-DESTDIR=$PKG ninja -C build install || exit 1
+"${NINJA:=ninja}"
+$NINJA -C build || exit 1
+DESTDIR=$PKG $NINJA -C build install || exit 1
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