suite-sparse: improve setting of the libs
property (#44214)
on some distros it is in lib64/
This commit is contained in:
parent
cbcfc7e10a
commit
b5962613a0
1 changed files with 6 additions and 1 deletions
|
@ -309,5 +309,10 @@ def libs(self):
|
|||
query_parameters = self.spec.last_query.extra_parameters
|
||||
comps = all_comps if not query_parameters else query_parameters
|
||||
return find_libraries(
|
||||
["lib" + c for c in comps], root=self.prefix.lib, shared=True, recursive=False
|
||||
# Libraries may be installed under both `lib/` and `lib64/`,
|
||||
# don't force searching under `lib/` only.
|
||||
["lib" + c for c in comps],
|
||||
root=self.prefix,
|
||||
shared=True,
|
||||
recursive=True,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue