Skip to content

Commit

Permalink
python: perform the last dylib loader only if it fails before that (f…
Browse files Browse the repository at this point in the history
…or El Capitan)
  • Loading branch information
aquynh committed Oct 19, 2015
1 parent 6035734 commit 2b3a298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/capstone/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@

# 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:
Expand Down

0 comments on commit 2b3a298

Please sign in to comment.