summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/blis/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/blis/package.py b/var/spack/repos/builtin/packages/blis/package.py
index 6d90fdc958..25271ce794 100644
--- a/var/spack/repos/builtin/packages/blis/package.py
+++ b/var/spack/repos/builtin/packages/blis/package.py
@@ -112,7 +112,10 @@ class BlisBase(Package):
@property
def libs(self):
return find_libraries(
- ["libblis", "libblis-mt"], root=self.prefix, recursive=True
+ ["libblis", "libblis-mt"],
+ root=self.prefix,
+ shared='+shared' in self.spec,
+ recursive=True
)