xbraid: add libs method (#7233)
XBraid installs `libbraid.a`, but the default `libs` method implementation will search for `libxbraid`, which does not exist. This commit fixes the behavior of the `libs` method for the `xbraid` package by overriding package's `libs` method.
This commit is contained in:
parent
f36e83fa5f
commit
a7b8d26fa7
1 changed files with 5 additions and 0 deletions
|
@ -66,3 +66,8 @@ def install(self, spec, prefix):
|
|||
install_tree('test', prefix.share.test)
|
||||
install_tree('user_utils', prefix.share.user_utils)
|
||||
install_tree('docs', prefix.share.docs)
|
||||
|
||||
@property
|
||||
def libs(self):
|
||||
return find_libraries('libbraid', root=self.prefix,
|
||||
shared=False, recursive=True)
|
||||
|
|
Loading…
Reference in a new issue