From 03971e7e22d29bf5341f32428de4e0a5e9572f86 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Sun, 10 Mar 2019 09:33:37 -0700 Subject: [PATCH] Fix macOS builder to set up `mutool_lib` in `setup_extra` rather than overriding `setup_paths`, which was causing issues. --- builders/macosx-builder.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/builders/macosx-builder.py b/builders/macosx-builder.py index 01afda8..a175814 100644 --- a/builders/macosx-builder.py +++ b/builders/macosx-builder.py @@ -359,11 +359,10 @@ class MacOSXBuilder(Builder): qt_library_path = QCoreApplication.libraryPaths()[0] return os.path.join(os.path.dirname(qt_library_path), 'translations') - def setup_paths(self): + def setup_extra(self): """ Extra setup to run """ - super().setup_paths() if hasattr(self, 'mutool_exe'): self.mutool_lib = os.path.abspath( os.path.join(os.path.dirname(self.mutool_exe), '..', 'lib', 'libjbig2dec.0.dylib'))