summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorXavier de Gaye <xdegaye@users.sourceforge.net>2016-12-13 15:05:15 (GMT)
committerXavier de Gaye <xdegaye@users.sourceforge.net>2016-12-13 15:05:15 (GMT)
commitf191a9e8e4f3fbcf018fac4996d764c2b9d60800 (patch)
treee2a8663f5a61e01b512d57618cc5b5b3c32d56b3 /setup.py
parentf852fff878a578bef805310b0bfb7cbd1980e689 (diff)
parente13c3201fb66c4c211b4ebb7604d1435bedc1015 (diff)
downloadcpython-f191a9e8e4f3fbcf018fac4996d764c2b9d60800.zip
cpython-f191a9e8e4f3fbcf018fac4996d764c2b9d60800.tar.gz
cpython-f191a9e8e4f3fbcf018fac4996d764c2b9d60800.tar.bz2
Issue #28190: Merge 3.6.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index baa9cef..cd05bb6 100644
--- a/setup.py
+++ b/setup.py
@@ -1350,7 +1350,8 @@ class PyBuildExt(build_ext):
panel_library = 'panel'
if curses_library == 'ncursesw':
curses_defines.append(('HAVE_NCURSESW', '1'))
- curses_includes.append('/usr/include/ncursesw')
+ if not cross_compiling:
+ curses_includes.append('/usr/include/ncursesw')
# Bug 1464056: If _curses.so links with ncursesw,
# _curses_panel.so must link with panelw.
panel_library = 'panelw'