diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-05-29 22:52:23 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-05-31 21:44:55 +0200 |
commit | 238bf198cf4f31a3301b81a924d5e22044945955 (patch) | |
tree | c39b14a26057f36de8177f1a866b44970be9d5da /package/python3/019-fix-add-gcc-paths-logic.patch | |
parent | 62d925ee68fd3aa3fece9af11f19cf61fb6b5140 (diff) | |
download | buildroot-238bf198cf4f31a3301b81a924d5e22044945955.tar.gz buildroot-238bf198cf4f31a3301b81a924d5e22044945955.zip |
python: add patch to fix logic to get gcc paths
The Python setup.py has a function called add_gcc_paths(), which
executes gcc -E -v to get the list of header paths searched by
gcc. However, the logic of setup.py is only valid with the normal
english output of gcc: it doesn't work if a non-english locale is
set. This causes setup.py to not find certain headers (such as zlib.h)
and therefore disabling the build of such extensions.
Reported-by: Bruno Coudoin <bruno.coudoin@gcompris.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python3/019-fix-add-gcc-paths-logic.patch')
0 files changed, 0 insertions, 0 deletions