citadel/meta/recipes-devtools/python/python3/avoid-ncursesw-include-path.patch
brl 098b8f982b Squashed 'poky/' content from commit 4469acdf1d
git-subtree-dir: poky
git-subtree-split: 4469acdf1d0338220f3fe2ecb5e079eea6fda375
2017-12-04 16:35:29 -05:00

22 lines
567 B
Diff

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)