[vlc-commits] win32: build.sh: allow setting the number of jobs in the environment

Steve Lhomme git at videolan.org
Tue May 21 14:14:55 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue May 21 12:32:30 2019 +0200| [0e5999d54ca6e132fae29df22455ab9f645e5d69] | committer: Steve Lhomme

win32: build.sh: allow setting the number of jobs in the environment

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0e5999d54ca6e132fae29df22455ab9f645e5d69
---

 extras/package/win32/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/package/win32/build.sh b/extras/package/win32/build.sh
index 15173124aa..6dd73999ea 100755
--- a/extras/package/win32/build.sh
+++ b/extras/package/win32/build.sh
@@ -89,7 +89,7 @@ esac
 
 #####
 
-JOBS=`getconf _NPROCESSORS_ONLN 2>&1`
+: ${JOBS:=$(getconf _NPROCESSORS_ONLN 2>&1)}
 TRIPLET=$ARCH-w64-mingw32
 
 info "Building extra tools"



More information about the vlc-commits mailing list