Fix vim build with ^ncurses+termlib

This PR will set the approriate library if ncurses is built with a
separate tinfo library.
This commit is contained in:
Glenn P Johnson 2020-02-09 14:59:30 -06:00 committed by Peter Scheibel
parent c77eeca61e
commit 37a6b8d54f

View File

@ -81,7 +81,10 @@ def configure_args(self):
configure_args = ["--enable-fail-if-missing"]
configure_args.append("--with-tlib=ncursesw")
if '+termlib' in spec['ncurses']:
configure_args.append("--with-tlib=tinfow")
else:
configure_args.append("--with-tlib=ncursesw")
configure_args.append("--with-features=" + feature_set)