python: build the core with make.sh for all non-Windows system

This commit is contained in:
Nguyen Anh Quynh 2015-01-28 13:39:31 +08:00
parent d4b00ae3cd
commit 3b964d2c0a

View File

@ -107,7 +107,7 @@ class custom_build_clib(build_clib):
os.chdir("src")
# platform description refers at https://docs.python.org/2/library/sys.html#sys.platform
if SYSTEM == "linux2" or SYSTEM == "darwin":
if SYSTEM != "win32":
os.chmod("make.sh", stat.S_IREAD|stat.S_IEXEC)
os.system("BUILD_CORE_ONLY=yes ./make.sh")