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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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