Remove version number from shared library filename packaged with python bindings

This commit is contained in:
Andrew Dutcher
2016-09-08 12:34:58 -07:00
parent 6c042410ae
commit edd49cd21c
2 changed files with 4 additions and 5 deletions

View File

@ -18,11 +18,11 @@ if _python2:
range = xrange
if sys.platform == 'darwin':
_lib = "libunicorn.1.dylib"
_lib = "libunicorn.dylib"
elif sys.platform in ('win32', 'cygwin'):
_lib = "unicorn.dll"
else:
_lib = "libunicorn.so.1"
_lib = "libunicorn.so"
# Windows DLL in dependency order
_all_windows_dlls = (