Qhull: fix RPATH on macOS (#31586)
This commit is contained in:
parent
ac15ebec76
commit
caee7341dd
@ -45,3 +45,9 @@ def libs(self):
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user