mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 21:12:50 +00:00
Fix up a problem where the macOS builder expected a variable to be set, but it was being skipped due to a dependent variable not being available yet. Used the setup_extra()
hook so that it runs after all the other setup.
bzr-revno: 43
This commit is contained in:
commit
f98ae61bce
@ -359,11 +359,10 @@ class MacOSXBuilder(Builder):
|
|||||||
qt_library_path = QCoreApplication.libraryPaths()[0]
|
qt_library_path = QCoreApplication.libraryPaths()[0]
|
||||||
return os.path.join(os.path.dirname(qt_library_path), 'translations')
|
return os.path.join(os.path.dirname(qt_library_path), 'translations')
|
||||||
|
|
||||||
def setup_paths(self):
|
def setup_extra(self):
|
||||||
"""
|
"""
|
||||||
Extra setup to run
|
Extra setup to run
|
||||||
"""
|
"""
|
||||||
super().setup_paths()
|
|
||||||
if hasattr(self, 'mutool_exe'):
|
if hasattr(self, 'mutool_exe'):
|
||||||
self.mutool_lib = os.path.abspath(
|
self.mutool_lib = os.path.abspath(
|
||||||
os.path.join(os.path.dirname(self.mutool_exe), '..', 'lib', 'libjbig2dec.0.dylib'))
|
os.path.join(os.path.dirname(self.mutool_exe), '..', 'lib', 'libjbig2dec.0.dylib'))
|
||||||
|
Loading…
Reference in New Issue
Block a user