summaryrefslogtreecommitdiffstats
path: root/office
diff options
context:
space:
mode:
author Heinz Wiesinger2021-07-04 12:47:53 +0200
committer Heinz Wiesinger2021-07-04 16:33:14 +0200
commit12af0c01347a134e997057e08094349ca7344705 (patch)
tree22e2164f9fb6b31357961508b3b23261a11ec404 /office
parent64b79dda7cac380fe74296d515ce172ad0027f79 (diff)
downloadslackbuilds-12af0c01347a134e997057e08094349ca7344705.tar.gz
office/gnucash: Support alternatives for ninja
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/gnucash/gnucash.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/office/gnucash/gnucash.SlackBuild b/office/gnucash/gnucash.SlackBuild
index f89beedc9d..7f1f28e243 100644
--- a/office/gnucash/gnucash.SlackBuild
+++ b/office/gnucash/gnucash.SlackBuild
@@ -126,7 +126,7 @@ cd build
-DGNUCASH_BUILD_ID="$VERSION-`date -I` by $PACKAGER" \
-DCMAKE_BUILD_TYPE=release ..
-DESTDIR="$PKG" ninja install
+DESTDIR="$PKG" $NINJA 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