aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 12:47:50 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 16:33:11 +0200
commitad87bd8b1bbe32be9c7dd1ee12a5d880ff23d08c (patch)
tree3057c485861f9fb4ae5b71a38274c3daea179684 /libraries
parentee49e81cb2a2ef2f0698296bfb6d69d15ee0cff9 (diff)
libraries/jsoncpp: Support alternatives for ninja
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/jsoncpp/jsoncpp.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/jsoncpp/jsoncpp.SlackBuild b/libraries/jsoncpp/jsoncpp.SlackBuild
index 39adbe2f97df6..14870c9b76038 100644
--- a/libraries/jsoncpp/jsoncpp.SlackBuild
+++ b/libraries/jsoncpp/jsoncpp.SlackBuild
@@ -81,8 +81,8 @@ cd build
--default-library=shared \
..
- ninja
- DESTDIR=$PKG ninja install
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \