DLL path fix in frozen mode

Addresses #152
This commit is contained in:
mailchuck 2016-01-20 22:31:15 +01:00 committed by Peter Surda
parent 6a965cd31a
commit b7e24fab4a

View File

@ -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':