mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-03-04 20:39:50 +00:00
python: build the core with make.sh for all non-Windows system
This commit is contained in:
parent
d4b00ae3cd
commit
3b964d2c0a
@ -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")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user