Fix regression from #76 which caused OSX to incorrectly identify as LINUX.
This commit is contained in:
10
emsdk
10
emsdk
@@ -35,16 +35,16 @@ if os.name == 'nt':
|
||||
WINDOWS = True
|
||||
ENVPATH_SEPARATOR = ';'
|
||||
|
||||
LINUX = False
|
||||
if platform.system() == 'Linux' or os.name == 'posix':
|
||||
LINUX = True
|
||||
ENVPATH_SEPARATOR = ':'
|
||||
|
||||
OSX = False
|
||||
if platform.mac_ver()[0] != '':
|
||||
OSX = True
|
||||
ENVPATH_SEPARATOR = ':'
|
||||
|
||||
LINUX = False
|
||||
if not OSX and (platform.system() == 'Linux' or os.name == 'posix'):
|
||||
LINUX = True
|
||||
ENVPATH_SEPARATOR = ':'
|
||||
|
||||
CPU_CORES = max(multiprocessing.cpu_count()-1, 1) # Don't saturate all cores to not steal the whole system, but be aggressive.
|
||||
|
||||
CMAKE_BUILD_TYPE_OVERRIDE = None
|
||||
|
||||
Reference in New Issue
Block a user