Skip to content

Commit

Permalink
Fix Darwin lib install name in var/spack/repos/builtin/packages/libjp…
Browse files Browse the repository at this point in the history
…eg-turbo/package.py
  • Loading branch information
climbfuji committed Sep 5, 2023
1 parent ede3bbc commit ed76b50
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions var/spack/repos/builtin/packages/libjpeg-turbo/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,9 @@ def cmake_args(self):
]

return args

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

0 comments on commit ed76b50

Please sign in to comment.