Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Update spec
Browse files Browse the repository at this point in the history
  • Loading branch information
ValdikSS committed Sep 22, 2019
1 parent aee318f commit a9e9f33
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion blockcheck.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ hooks_r = []
if sys_os == 'linux':
ca_bundle = [('./ca-certificates.crt', 'lib')]
add_datas = ca_bundle
add_binaries = [('./libssl.so.1.1', '.'), ('./libcrypto.so.1.1', '.')]

if sys_os == 'darwin':
add_datas = [('/System/Library/Frameworks/Tk.framework/Tk', '.'),
Expand All @@ -22,6 +21,9 @@ if sys_os == 'darwin':
hooks_p = ['osx_hooks']
hooks_r = ['osx_hooks/loader/pyi_rth__tkinter.py']

if sys_os == 'win32':
add_binaries = [('./libssl-1_1.dll', '.'), ('./libcrypto-1_1.dll', '.')]

block_cipher = None


Expand Down Expand Up @@ -55,7 +57,10 @@ a.binaries -= [
('libXss.so.1', None, None),
('libz.so.1', None, None),
('libreadline.so.6', None, None),
('libssl-1_1.dll', None, None),
('libcrypto-1_1.dll', None, None),
]
a.binaries += [('libcrypto-1_1.dll', 'libcrypto-1_1.dll', 'BINARY'), ('libssl-1_1.dll', 'libssl-1_1.dll', 'BINARY')]

exe = EXE(pyz,
a.scripts,
Expand Down

0 comments on commit a9e9f33

Please sign in to comment.