ncurses: forward termlib libs (#16101)
These libs need to be forwarded, as in ncurses `pkg-config` file.
This commit is contained in:
parent
bb2849002b
commit
bacbaeb563
1 changed files with 5 additions and 1 deletions
|
@ -105,5 +105,9 @@ def install(self, spec, prefix):
|
|||
|
||||
@property
|
||||
def libs(self):
|
||||
return find_libraries(
|
||||
nc_libs = find_libraries(
|
||||
['libncurses', 'libncursesw'], root=self.prefix, recursive=True)
|
||||
if '+termlib' in self.spec:
|
||||
nc_libs.extend(find_libraries(
|
||||
['libtinfo', 'libtinfow'], root=self.prefix, recursive=True))
|
||||
return nc_libs
|
||||
|
|
Loading…
Reference in a new issue