From d486b251a50d47c3cbd7b1a62d297a954a66b300 Mon Sep 17 00:00:00 2001 From: mailchuck Date: Wed, 20 Jan 2016 22:31:15 +0100 Subject: [PATCH] DLL path fix in frozen mode Addresses #152 --- src/depends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/depends.py b/src/depends.py index 553a5031..294c6a22 100755 --- a/src/depends.py +++ b/src/depends.py @@ -87,7 +87,7 @@ def check_openssl(): paths = ['libeay32.dll'] if getattr(sys, 'frozen', False): import os.path - paths.append(os.path.join(sys._MEIPASS, 'libeay32.dll')) + paths.insert(0, os.path.join(sys._MEIPASS, 'libeay32.dll')) else: paths = ['libcrypto.so'] if sys.platform == 'darwin':