vlc | branch: master | Felix Paul Kühne <[email protected]> | Wed Feb 17 
16:14:14 2016 +0100| [1f4001b63610fe902001dab31a30427ef3f6ff52] | committer: 
Felix Paul Kühne

extras/tools: fix compilation on multiple cores on Darwin

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

 extras/tools/bootstrap |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/tools/bootstrap b/extras/tools/bootstrap
index 75d093e..1351475 100755
--- a/extras/tools/bootstrap
+++ b/extras/tools/bootstrap
@@ -94,7 +94,7 @@ case `uname` in
         CPUS=`grep -c ^processor /proc/cpuinfo`
      ;;
     Darwin)
-        CPUS=`sysctl hw.ncpu|cut -d: -f2`
+        CPUS=`sysctl hw.ncpu|cut -d" " -f2`
         gcc-4.2 --version >/dev/null 2>&1 && CC=CC=gcc-4.2
         g++-4.2 --version >/dev/null 2>&1 && CXX=CXX=g++-4.2
     ;;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to