lua: requires -ltermcap when building (#17108)

This commit is contained in:
Muhammad Haseeb
2020-06-17 01:55:46 -04:00
committed by GitHub
parent 494a523636
commit d2b745b3d6

View File

@@ -54,7 +54,7 @@ def install(self, spec, prefix):
'MYLDFLAGS=-L%s -L%s' % ( 'MYLDFLAGS=-L%s -L%s' % (
spec['readline'].prefix.lib, spec['readline'].prefix.lib,
spec['ncurses'].prefix.lib), spec['ncurses'].prefix.lib),
'MYLIBS=-lncursesw', 'MYLIBS=-lncursesw -ltermcap',
'CC=%s -std=gnu99 %s' % (spack_cc, 'CC=%s -std=gnu99 %s' % (spack_cc,
self.compiler.cc_pic_flag), self.compiler.cc_pic_flag),
target) target)