From 359055b4ff4c7c05c40a33587372f761abe0aac5 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 26 Oct 2015 15:46:10 +0800 Subject: [PATCH] python: properly load supporting DLLs in dependency order. this fixes issue #208 --- 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 ddaead43..3589566d 100644 --- a/bindings/python/unicorn/unicorn.py +++ b/bindings/python/unicorn/unicorn.py @@ -19,7 +19,7 @@ if not hasattr(sys.modules[__name__], '__file__'): _lib_path = split(__file__)[0] _all_libs = ('unicorn.dll', 'libunicorn.so', 'libunicorn.dylib') # Windows DLL in dependency order -_all_windows_dlls = ("libwinpthread-1.dll", "libgcc_s_seh-1.dll", "libgcc_s_dw2-1.dll", "libintl-8.dll", "libglib-2.0-0.dll", "libiconv-2.dll") +_all_windows_dlls = ("libwinpthread-1.dll", "libgcc_s_seh-1.dll", "libgcc_s_dw2-1.dll", "libiconv-2.dll", "libintl-8.dll", "libglib-2.0-0.dll") _found = False for _lib in _all_libs: