readline: fix linking to ncurses

This commit is contained in:
Adam J. Stewart 2020-06-11 14:09:44 -05:00 committed by Peter Scheibel
parent 50aba2729b
commit 4e39dc7174

View File

@ -29,7 +29,8 @@ class Readline(AutotoolsPackage, GNUMirrorPackage):
def build(self, spec, prefix):
options = [
'SHLIB_LIBS=-L{0} -lncursesw'.format(spec['ncurses'].prefix.lib)
'SHLIB_LIBS=-L{0} -lncursesw -ltinfo'.format(
spec['ncurses'].prefix.lib)
]
make(*options)