Skip to content

Commit

Permalink
python: fix library versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Jun 12, 2020
1 parent a5d2b15 commit e02e86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/keystone/keystone.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
__file__ = inspect.getfile(inspect.currentframe())

_lib_path = split(__file__)[0]
_all_libs = ('keystone.dll', 'libkeystone.so', 'libkeystone.so.' % KS_API_MAJOR, 'libkeystone.dylib')
_all_libs = ('keystone.dll', 'libkeystone.so', 'libkeystone.so.%u' %KS_API_MAJOR, 'libkeystone.dylib')
_found = False

for _lib in _all_libs:
Expand Down

0 comments on commit e02e86c

Please sign in to comment.