We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da84208 commit 85b289dCopy full SHA for 85b289d
bindings/python/unicorn/unicorn_py3/unicorn.py
@@ -97,7 +97,7 @@ def _load_lib(path: Path, lib_name: str):
97
lib_locations = [
98
os.getenv('LIBUNICORN_PATH'),
99
pkg_resources.resource_filename(__name__, 'lib'),
100
- PurePath(inspect.getfile(__load_uc_lib)).parent / 'lib',
+ PurePath(inspect.getfile(__load_uc_lib)).parent.parent / 'lib',
101
'',
102
"/usr/local/lib/" if sys.platform == 'darwin' else '/usr/lib64',
103
] + [PurePath(p) / 'unicorn' / 'lib' for p in sys.path] # lazymio: ??? why PATH ??
0 commit comments