Make test cases/frameworks/15 llvm tolerate no libtinfo

libtinfo only exists if ncurses is configured --with-termlib
This commit is contained in:
Jon Turney 2018-02-12 15:14:10 +00:00
parent 8a48e43fd9
commit 8d5c660944
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ assert(d.found() == true, 'optional module stopped llvm from being found.')
dep_tinfo = dependency('tinfo', required : false) dep_tinfo = dependency('tinfo', required : false)
if not dep_tinfo.found() if not dep_tinfo.found()
cpp = meson.get_compiler('cpp') cpp = meson.get_compiler('cpp')
dep_tinfo = cpp.find_library('tinfo') dep_tinfo = cpp.find_library('tinfo', required: false)
endif endif
foreach static : [true, false] foreach static : [true, false]