Skip to content

Commit 397ab2a

Browse files
committed
Exclude a few more files from the mac build. Trying to avoid a crash related to tesseract and libgif dependencies
1 parent 1f93ca3 commit 397ab2a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

freeze.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,10 @@ def find_files(directory, patterns):
392392
src_files.append((filename, os.path.join("lib", os.path.relpath(filename, start=os.path.join(PATH, "openshot_qt")))))
393393

394394
# Exclude gif library which crashes on Mac
395-
build_exe_options["bin_excludes"] = ["/usr/local/opt/giflib/lib/libgif.dylib"]
395+
build_exe_options["bin_excludes"] = ["/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib",
396+
"/usr/local/opt/giflib/lib/libgif.dylib",
397+
"/usr/local/opt/tesseract/lib/libtesseract.4.dylib",
398+
"/usr/local/opt/leptonica/lib/liblept.5.dylib"]
396399

397400
# Dependencies are automatically detected, but it might need fine tuning.
398401
build_exe_options["packages"] = python_packages

0 commit comments

Comments
 (0)