mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-25 09:00:43 +00:00
python: perform the last dylib loader only if it fails before that (for El Capitan)
This commit is contained in:
parent
6035734b02
commit
2b3a298609
@ -230,7 +230,7 @@ if _found == False:
|
||||
|
||||
# Attempt Darwin specific load (10.11 specific),
|
||||
# since LD_LIBRARY_PATH is not guaranteed to exist
|
||||
if system() == 'Darwin':
|
||||
if (_found == False) and (system() == 'Darwin'):
|
||||
_lib_path = '/usr/local/lib/'
|
||||
for _lib in _all_libs:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user