mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 04:52:50 +00:00
Fix macOS builder to set up mutool_lib
in setup_extra
rather than overriding setup_paths
, which was causing issues.
This commit is contained in:
parent
41f9dbc828
commit
03971e7e22
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user