aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-09 19:59:48 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-14 21:18:00 +0700
commit0785ee2703ef92fcb50545a93cad8dfb8c71bebe (patch)
treeb2e5b0dba9f1b5b8f0828547d61d641b4c186da3 /libraries
parent934f6edd22270b04c4d02b89fb474f1007adf99b (diff)
libraries/webkit2gtk: Build just once, respect jobs number.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/webkit2gtk/webkit2gtk.SlackBuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/libraries/webkit2gtk/webkit2gtk.SlackBuild b/libraries/webkit2gtk/webkit2gtk.SlackBuild
index 96c17ea8b36ac..710f6ba25bc31 100644
--- a/libraries/webkit2gtk/webkit2gtk.SlackBuild
+++ b/libraries/webkit2gtk/webkit2gtk.SlackBuild
@@ -101,8 +101,7 @@ cd build
# The build might crash on high specs machines because ninja eat all
# of the resources, so let's try to limit it to half the available ones
-"${NINJA:=ninja}"
-$NINJA -j$(expr $(nproc) / 2)
+"${NINJA:=ninja}" -j$(expr $(nproc) / 2)
DESTDIR=$PKG $NINJA -j1 install
mkdir -p $PKG/usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0