lua: fix linking to ncurses (#17206)
PR #17108 broke the build. Spack's ncurses package does not provide a libtermcap, so we need to use libtinfow.
This commit is contained in:
parent
735416dbf4
commit
55f26b0ccb
@ -54,7 +54,7 @@ def install(self, spec, prefix):
|
||||
'MYLDFLAGS=-L%s -L%s' % (
|
||||
spec['readline'].prefix.lib,
|
||||
spec['ncurses'].prefix.lib),
|
||||
'MYLIBS=-lncursesw -ltermcap',
|
||||
'MYLIBS=-lncursesw -ltinfow',
|
||||
'CC=%s -std=gnu99 %s' % (spack_cc,
|
||||
self.compiler.cc_pic_flag),
|
||||
target)
|
||||
|
Loading…
Reference in New Issue
Block a user