summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/hypre/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hypre/package.py b/var/spack/repos/builtin/packages/hypre/package.py
index d6b9645a4c..d17da61a1b 100644
--- a/var/spack/repos/builtin/packages/hypre/package.py
+++ b/var/spack/repos/builtin/packages/hypre/package.py
@@ -109,3 +109,9 @@ class Hypre(Package):
sstruct('-in', 'test/sstruct.in.default', '-solver', '40',
'-rhsone')
make("install")
+
+ @property
+ def libs(self):
+ is_shared = self.spec.satisfies('+shared')
+ return find_libraries('libHYPRE', root=self.prefix,
+ shared=is_shared, recursive=True)