Skip to content

Commit 85b289d

Browse files
committed
Use correct lib path
1 parent da84208 commit 85b289d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/python/unicorn/unicorn_py3/unicorn.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def _load_lib(path: Path, lib_name: str):
9797
lib_locations = [
9898
os.getenv('LIBUNICORN_PATH'),
9999
pkg_resources.resource_filename(__name__, 'lib'),
100-
PurePath(inspect.getfile(__load_uc_lib)).parent / 'lib',
100+
PurePath(inspect.getfile(__load_uc_lib)).parent.parent / 'lib',
101101
'',
102102
"/usr/local/lib/" if sys.platform == 'darwin' else '/usr/lib64',
103103
] + [PurePath(p) / 'unicorn' / 'lib' for p in sys.path] # lazymio: ??? why PATH ??

0 commit comments

Comments
 (0)