summaryrefslogtreecommitdiffstats
path: root/development/nodejs
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2021-11-19 02:41:07 +0100
committer Willy Sudiarto Raharjo2021-11-19 02:41:07 +0100
commit251f339ebdd962a7e75f18df0fe518834f8578ea (patch)
tree7fd20b22825dd8cbdd1deed4b075583f700527ba /development/nodejs
parentf0f71ca44d050181de1cb5ce7d92dfaf177d182e (diff)
downloadslackbuilds-251f339ebdd962a7e75f18df0fe518834f8578ea.tar.gz
development/nodejs: Use ninja to build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/nodejs')
-rw-r--r--development/nodejs/nodejs.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/nodejs/nodejs.SlackBuild b/development/nodejs/nodejs.SlackBuild
index 23ff6ac67f..9b014677e4 100644
--- a/development/nodejs/nodejs.SlackBuild
+++ b/development/nodejs/nodejs.SlackBuild
@@ -93,7 +93,8 @@ sed -i "s|\"lib\"|\"lib${LIBDIRSUFFIX}\"|" deps/npm/lib/npm.js
sed -i "s|math.h|cmath|" src/node_crypto.cc
./configure \
--prefix=/usr \
- --shared-zlib
+ --shared-zlib \
+ --ninja
make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG