Add Cygwin Support

treat Cygwin enviroment as Linux.
This commit is contained in:
kawakami
2017-05-26 18:27:21 +09:00
committed by GitHub
parent 9330aeb094
commit f0ab1ed635

2
emsdk
View File

@@ -36,7 +36,7 @@ if os.name == 'nt':
ENVPATH_SEPARATOR = ';'
LINUX = False
if platform.system() == 'Linux':
if platform.system() == 'Linux' or os.name == 'posix':
LINUX = True
ENVPATH_SEPARATOR = ':'