Suite-sparse: Fix Darwin install name (#19507)
This commit is contained in:
parent
af057e0196
commit
52959528a2
@ -148,6 +148,13 @@ def install(self, spec, prefix):
|
|||||||
make_args.append('INSTALL=%s' % prefix)
|
make_args.append('INSTALL=%s' % prefix)
|
||||||
make('install', *make_args)
|
make('install', *make_args)
|
||||||
|
|
||||||
|
@run_after('install')
|
||||||
|
def fix_darwin_install(self):
|
||||||
|
# The shared libraries are not installed correctly on Darwin:
|
||||||
|
# See https://github.com/DrTimothyAldenDavis/SuiteSparse/issues/42
|
||||||
|
if '+pic platform=darwin' in self.spec:
|
||||||
|
fix_darwin_install_name(self.spec.prefix.lib)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def libs(self):
|
def libs(self):
|
||||||
"""Export the libraries of SuiteSparse.
|
"""Export the libraries of SuiteSparse.
|
||||||
|
Loading…
Reference in New Issue
Block a user