Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Pending |
| 2 | |
| 3 | We should make sure that sysroot is used by gcc instead of assuming |
| 4 | hardcoded locations for include paths |
| 5 | |
| 6 | |
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 8 | |
| 9 | Index: Python-3.4.2/configure.ac |
| 10 | =================================================================== |
| 11 | --- Python-3.4.2.orig/configure.ac |
| 12 | +++ Python-3.4.2/configure.ac |
| 13 | @@ -4434,7 +4434,7 @@ fi |
| 14 | |
| 15 | # first curses header check |
| 16 | ac_save_cppflags="$CPPFLAGS" |
| 17 | -CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw" |
| 18 | +CPPFLAGS="$CPPFLAGS -I=/usr/include/ncursesw" |
| 19 | |
| 20 | AC_CHECK_HEADERS(curses.h ncurses.h) |
| 21 | |