Commit c011ec6c authored by Matti Picus's avatar Matti Picus
Browse files

issue 2970: add ncursesw to _minimal_curses

parent 195ceabd426e
......@@ -14,6 +14,8 @@ def try_cflags():
yield ExternalCompilationInfo(includes=['curses.h', 'term.h'])
yield ExternalCompilationInfo(includes=['curses.h', 'term.h'],
include_dirs=['/usr/include/ncurses'])
yield ExternalCompilationInfo(includes=['curses.h', 'term.h'],
include_dirs=['/usr/include/ncursesw'])
yield ExternalCompilationInfo(includes=['ncurses/curses.h',
'ncurses/term.h'])
......@@ -23,12 +25,18 @@ def try_ldflags():
yield ExternalCompilationInfo(libraries=['ncurses'])
yield ExternalCompilationInfo(libraries=['ncurses'],
library_dirs=['/usr/lib64'])
yield ExternalCompilationInfo(libraries=['ncursesw'],
library_dirs=['/usr/lib64'])
def try_tools():
try:
yield ExternalCompilationInfo.from_pkg_config("ncurses")
except Exception:
pass
try:
yield ExternalCompilationInfo.from_pkg_config("ncursesw")
except Exception:
pass
try:
yield ExternalCompilationInfo.from_config_tool("ncurses5-config")
except Exception:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment