From: Ladislav Michl Date: Fri, 25 Oct 2019 14:18:30 +0200 Subject: [PATCH] Search for ncursesw pkgconfig PTXDist can be configured to build wide char version of ncurses which SConstruct is unaware of. Signed-off-by: Ladislav Michl --- SConstruct | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SConstruct b/SConstruct index e15d63f6ede0..71643c428f26 100644 --- a/SConstruct +++ b/SConstruct @@ -1067,6 +1067,8 @@ else: ncurseslibs = pkg_config('ncurses', rpath_hack=True) if config.CheckPKG('tinfo'): ncurseslibs += pkg_config('tinfo', rpath_hack=True) + elif config.CheckPKG('ncursesw'): + ncurseslibs = pkg_config('ncursesw', rpath_hack=True) # It's not yet known whether rpath_hack is appropriate for # ncurses5-config. elif WhereIs('ncurses5-config'):