diff --git a/bindings/python/unicorn/unicorn_py3/unicorn.py b/bindings/python/unicorn/unicorn_py3/unicorn.py index 0a6b3150..f08e2914 100644 --- a/bindings/python/unicorn/unicorn_py3/unicorn.py +++ b/bindings/python/unicorn/unicorn_py3/unicorn.py @@ -332,11 +332,12 @@ def debug() -> str: ('tricore', uc.UC_ARCH_TRICORE) ) - all_archs = ''.join(f'-{name}' for name, atype in archs if uc_arch_supported(atype)) + all_archs = '-'.join(f'{name}' for name, atype in archs if uc_arch_supported(atype)) lib_maj, lib_min, _ = uc_version() bnd_maj, bnd_min, _ = version_bind() + lib_path = str(uclib) - return f'python-{all_archs}-c{lib_maj}.{lib_min}-b{bnd_maj}.{bnd_min}' + return f'python-{all_archs}-c{lib_maj}.{lib_min}-b{bnd_maj}.{bnd_min}-{lib_path}' if TYPE_CHECKING: