silo: adding the library spec for dependents (#22431)

This commit is contained in:
Olivier Cessenat 2021-03-20 16:22:38 +01:00 committed by GitHub
parent 48023b2932
commit 1acaaea34e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,3 +119,10 @@ def configure_args(self):
config_args.append('FC=%s' % spec['mpi'].mpifc)
return config_args
@property
def libs(self):
shared = "+shared" in self.spec
return find_libraries(
"libsilo*", root=self.prefix, shared=shared, recursive=True
)