mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-03-04 20:39:50 +00:00
python: make setup.py support other *nix systems (i.e non-Windows)
This commit is contained in:
parent
7b5a250113
commit
decc0d3d02
@ -21,10 +21,10 @@ SITE_PACKAGES = os.path.join(get_python_lib(), "capstone")
|
||||
|
||||
SETUP_DATA_FILES = []
|
||||
|
||||
if SYSTEM == "linux2":
|
||||
SETUP_DATA_FILES.append("src/libcapstone.so")
|
||||
elif SYSTEM == "darwin":
|
||||
if SYSTEM == "darwin":
|
||||
SETUP_DATA_FILES.append("src/libcapstone.dylib")
|
||||
elif SYSTEM != "win32":
|
||||
SETUP_DATA_FILES.append("src/libcapstone.so")
|
||||
|
||||
class LazyList(list):
|
||||
"""A list which re-evaluates each time.
|
||||
|
Loading…
x
Reference in New Issue
Block a user