mumps: add the libs property (#7264)

This commit is contained in:
Veselin Dobrev 2018-03-06 09:05:58 -08:00 committed by Massimiliano Culpo
parent 4a54178ff8
commit 65a1655022

View File

@ -262,3 +262,11 @@ def install(self, spec, prefix):
os.system('./dsimpletest < input_simpletest_real')
if '+complex' in spec:
os.system('./zsimpletest < input_simpletest_cmplx')
@property
def libs(self):
component_libs = ['*mumps*', 'pord']
return find_libraries(['lib' + comp for comp in component_libs],
root=self.prefix.lib,
shared=('+shared' in self.spec),
recursive=False) or None