1 From be44636b36086ca1b6de24265b7c3cc0c2bae913 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Wed, 23 Dec 2015 11:45:13 +0100
4 Subject: [PATCH] Do not harcode invalid path to ncursesw headers
6 Adding /usr/include/ncursesw is obviously invalid when
7 cross-compiling. Since the ncursesw headers are no longer installed in
8 usr/include/ncursesw/, but directly in usr/include, there is anyway no
9 need for a special header path.
11 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 1 file changed, 1 deletion(-)
16 diff --git a/setup.py b/setup.py
17 index 15b39f5..9e08e7e 100644
20 @@ -1296,7 +1296,6 @@ class PyBuildExt(build_ext):
21 panel_library = 'panel'
22 if curses_library == 'ncursesw':
23 curses_defines.append(('HAVE_NCURSESW', '1'))
24 - curses_includes.append('/usr/include/ncursesw')
25 # Bug 1464056: If _curses.so links with ncursesw,
26 # _curses_panel.so must link with panelw.
27 panel_library = 'panelw'