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>
This commit is contained in:
parent
934f6edd22
commit
0785ee2703
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue