python: build the core with make.sh for all non-Windows system
This commit is contained in:
parent
ac0cb810f4
commit
53e92938ce
|
@ -113,7 +113,8 @@ class custom_build_clib(build_clib):
|
|||
|
||||
os.chdir("src")
|
||||
|
||||
if SYSTEM == "linux2" or SYSTEM == "darwin":
|
||||
# platform description refers at https://docs.python.org/2/library/sys.html#sys.platform
|
||||
if SYSTEM != "win32":
|
||||
os.chmod("make.sh", stat.S_IREAD|stat.S_IEXEC)
|
||||
os.system("BUILD_CORE_ONLY=yes ./make.sh")
|
||||
|
||||
|
|
Loading…
Reference in New Issue