Readline package: Add ncurses library directory to link line. (#3802)

Resolves a issue with finding the ncurses library on MacOS.
This commit is contained in:
Jean-Paul Pelteret 2017-04-14 19:17:45 +02:00 committed by Adam J. Stewart
parent 9922c374aa
commit a0217747d0

View File

@ -45,4 +45,8 @@ class Readline(AutotoolsPackage):
patch('readline-6.3-upstream_fixes-1.patch', when='@6.3') patch('readline-6.3-upstream_fixes-1.patch', when='@6.3')
def build(self, spec, prefix): def build(self, spec, prefix):
make('SHLIB_LIBS=-lncursesw') options = [
'SHLIB_LIBS=-L{0} -lncursesw'.format(spec['ncurses'].prefix.lib)
]
make(*options)