mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-03 19:25:26 +00:00
python bindings: restore FreeBSD support (#698)
* python bindings: restore FreeBSD support * python binding: use libunicorn.so if the platform is unknown
This commit is contained in:
parent
2386293020
commit
a7dddf6c5f
|
@ -62,7 +62,7 @@ def _load_lib(path):
|
|||
if sys.platform in ('win32', 'cygwin'):
|
||||
_load_win_support(path)
|
||||
|
||||
lib_file = os.path.join(path, _lib[sys.platform])
|
||||
lib_file = os.path.join(path, _lib.get(sys.platform, 'libunicorn.so'))
|
||||
#print('Trying to load shared library', lib_file)
|
||||
dll = ctypes.cdll.LoadLibrary(lib_file)
|
||||
#print('SUCCESS')
|
||||
|
|
Loading…
Reference in a new issue