readline: fix build with ncurses~termlib (#18524)
This commit is contained in:
parent
4307b73299
commit
96364235e3
@ -29,8 +29,11 @@ class Readline(AutotoolsPackage, GNUMirrorPackage):
|
||||
|
||||
def build(self, spec, prefix):
|
||||
options = [
|
||||
'SHLIB_LIBS=-L{0} -lncursesw -ltinfo'.format(
|
||||
'SHLIB_LIBS=-L{0} -lncursesw'.format(
|
||||
spec['ncurses'].prefix.lib)
|
||||
]
|
||||
|
||||
if '+termlib' in spec['ncurses']:
|
||||
options[0] += ' -ltinfo'
|
||||
|
||||
make(*options)
|
||||
|
Loading…
Reference in New Issue
Block a user