openblas package: fix lib suffix construction in libs (#40242)

This commit is contained in:
John W. Parent 2023-09-29 00:02:37 -04:00 committed by GitHub
parent a236fce31f
commit 3f2f0cc146
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -274,7 +274,7 @@ def libs(self):
search_shared = bool(spec.variants["shared"].value)
suffix = spec.variants["symbol_suffix"].value
if suffix != "none":
name += suffix
name = [x + suffix for x in name]
return find_libraries(name, spec.prefix, shared=search_shared, recursive=True)