From cef7d7d0fbefb0c6e1da7eaf782bef36cf8ad64c Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Mon, 27 Feb 2023 23:31:15 -0700 Subject: [PATCH] Use libunicorn.so.2 as fallback path --- bindings/python/unicorn/unicorn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/unicorn/unicorn.py b/bindings/python/unicorn/unicorn.py index 2e6a938f..0aacfb13 100644 --- a/bindings/python/unicorn/unicorn.py +++ b/bindings/python/unicorn/unicorn.py @@ -94,7 +94,7 @@ _path_list = [os.getenv('LIBUNICORN_PATH', None), for _path in _path_list: if _path is None: continue - _uc = _load_lib(_path, _lib.get(sys.platform, "libunicorn.so")) + _uc = _load_lib(_path, _lib.get(sys.platform, "libunicorn.so.2")) if _uc is not None: break