From 252f42f1153c673804ae15376297f1833c074d66 Mon Sep 17 00:00:00 2001 From: AMD Toolchain Support <73240730+amd-toolchain-support@users.noreply.github.com> Date: Fri, 2 Apr 2021 05:27:46 +0530 Subject: [PATCH] Fix for static library export issue in blis package (#22673) --- var/spack/repos/builtin/packages/blis/package.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 @@ def darwin_fix(self): @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 )