pcre2: fix libs property (#18525)
This commit is contained in:
parent
d24532f574
commit
4307b73299
1 changed files with 6 additions and 4 deletions
|
@ -37,7 +37,9 @@ def configure_args(self):
|
|||
|
||||
@property
|
||||
def libs(self):
|
||||
libs = find_libraries('libpcre2*',
|
||||
root=self.prefix.lib,
|
||||
recursive=False)
|
||||
return libs
|
||||
if '+multibyte' in self.spec:
|
||||
name = 'libpcre2-32'
|
||||
else:
|
||||
name = 'libpcre2-8'
|
||||
|
||||
return find_libraries(name, root=self.prefix, recursive=True)
|
||||
|
|
Loading…
Reference in a new issue