summaryrefslogtreecommitdiff
path: root/poky/meta/recipes-devtools/python/python3/avoid-ncursesw-include-path.patch
blob: f29ae5337177c09c952e5b2504f01ebdc2a9bd93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Upstream-Status: Pending

We should make sure that sysroot is used by gcc instead of assuming
hardcoded locations for include paths


Signed-off-by: Khem Raj <raj.khem@gmail.com>

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