summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python/use_sysroot_ncurses_instead_of_host.patch
blob: fb4a3bcf959fe049ce0723975304367a60aa92ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Python tries to use ncursesw from the host,
if it is not found causes an error on configure,
we should use ncursesw from sysroot instead

Upstream-Status: Pending

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>

Index: Python-2.7.9/configure.ac
===================================================================
--- Python-2.7.9.orig/configure.ac
+++ Python-2.7.9/configure.ac
@@ -4311,7 +4311,7 @@ fi
 
 # first curses configure check
 ac_save_cppflags="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
+CPPFLAGS="$CPPFLAGS -I=/usr/include/ncursesw"
 
 AC_CHECK_HEADERS(curses.h ncurses.h)