1
0
mirror of https://gitlab.com/openlp/packaging.git synced 2024-12-22 13:02: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:
Raoul Snyman 2019-03-10 09:33:37 -07:00
parent 41f9dbc828
commit 03971e7e22

View File

@ -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'))