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
|
@property
|
||||||
def libs(self):
|
def libs(self):
|
||||||
libs = find_libraries('libpcre2*',
|
if '+multibyte' in self.spec:
|
||||||
root=self.prefix.lib,
|
name = 'libpcre2-32'
|
||||||
recursive=False)
|
else:
|
||||||
return libs
|
name = 'libpcre2-8'
|
||||||
|
|
||||||
|
return find_libraries(name, root=self.prefix, recursive=True)
|
||||||
|
|
Loading…
Reference in a new issue