diff --git a/desktop/picom/picom.SlackBuild b/desktop/picom/picom.SlackBuild index ab2cb4de22..ad9e9a969d 100644 --- a/desktop/picom/picom.SlackBuild +++ b/desktop/picom/picom.SlackBuild @@ -73,7 +73,8 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ meson build . -D build_docs=true -D b_ndebug=true --prefix=/usr -DESTDIR=$PKG ninja -C build install +"${NINJA:=ninja}" +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