Skip to content

Commit a12f933

Browse files
Remove some shared libs on linux
1 parent 1e52480 commit a12f933

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyinstaller.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ exe = EXE(pyz,
4242
upx=True,
4343
console=True,
4444
icon='icons/cadquery_logo_dark.ico')
45+
46+
exclude = ('libGL','libEGL','libbsd')
47+
a.binaries = TOC([x for x in a.binaries if not x[0].startswith(exclude)])
4548

4649
coll = COLLECT(exe,
4750
a.binaries,

0 commit comments

Comments
 (0)