Fix buildcmd
authorYuriy Solovyov <yuriy.solovyov@gmail.com>
Tue, 2 May 2017 15:59:37 +0000 (18:59 +0300)
committerYuriy Solovyov <yuriy.solovyov@gmail.com>
Tue, 2 May 2017 15:59:37 +0000 (18:59 +0300)
platforms/ios/build_framework.py
platforms/osx/build_framework.py

index e6557b4..78d9ec6 100644 (file)
@@ -166,7 +166,7 @@ class Builder:
                 "-sdk", target.lower(),
                 "-configuration", "Release",
                 "-parallelizeTargets",
-                "-jobs", multiprocessing.cpu_count(),
+                "-jobs", str(multiprocessing.cpu_count()),
             ] + (["-target","ALL_BUILD"] if self.dynamic else [])
 
         return buildcmd
index 90affab..2db5cd2 100644 (file)
@@ -23,7 +23,7 @@ class OSXBuilder(Builder):
             "-sdk", target.lower(),
             "-configuration", "Release",
             "-parallelizeTargets",
-            "-jobs", multiprocessing.cpu_count()
+            "-jobs", str(multiprocessing.cpu_count())
         ]
         return buildcmd