diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2022-07-15 16:14:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-15 16:14:19 -0700 |
commit | caee7341dd4fe906ad2254bd5d74f0c9f6520846 (patch) | |
tree | a1e1467abf62f4d35f4345a775629a5d93c6ca89 /var | |
parent | ac15ebec76f5f96ad42ef6bd8f276ce72b3e628a (diff) | |
download | spack-caee7341dd4fe906ad2254bd5d74f0c9f6520846.tar.gz spack-caee7341dd4fe906ad2254bd5d74f0c9f6520846.tar.bz2 spack-caee7341dd4fe906ad2254bd5d74f0c9f6520846.tar.xz spack-caee7341dd4fe906ad2254bd5d74f0c9f6520846.zip |
Qhull: fix RPATH on macOS (#31586)
Diffstat (limited to 'var')
-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) |