diff options
-rw-r--r-- | var/spack/repos/builtin/packages/qhull/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/qhull/package.py b/var/spack/repos/builtin/packages/qhull/package.py index fc1a9192ab..526c48f012 100644 --- a/var/spack/repos/builtin/packages/qhull/package.py +++ b/var/spack/repos/builtin/packages/qhull/package.py @@ -45,3 +45,9 @@ class Qhull(CMakePackage): else: return find_libraries('libqhull', self.prefix, shared=True, recursive=True) + + @run_after('install') + def darwin_fix(self): + # The shared library is not installed correctly on Darwin; fix this + if self.spec.satisfies('platform=darwin'): + fix_darwin_install_name(self.prefix.lib) |