diff --git a/build.spec b/build.spec index e9d235fa..6806f977 100644 --- a/build.spec +++ b/build.spec @@ -76,6 +76,12 @@ a = Analysis( win_private_assemblies=False, win_no_prefer_redirects=False, ) +# Exclude unneeded Linux libraries +a.binaries = a.binaries - TOC([ + ('libicudata.so.66', None, None), + ('libicuuc.so.66', None, None), + ('librsvg-2.so.2', None, None), +]) pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) exe = EXE( pyz,