Fix for static library export issue in blis package (#22673)

This commit is contained in:
AMD Toolchain Support 2021-04-02 05:27:46 +05:30 committed by GitHub
parent 73a4a5d394
commit 252f42f115
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,10 @@ def darwin_fix(self):
@property @property
def libs(self): def libs(self):
return find_libraries( return find_libraries(
["libblis", "libblis-mt"], root=self.prefix, recursive=True ["libblis", "libblis-mt"],
root=self.prefix,
shared='+shared' in self.spec,
recursive=True
) )