diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch b/meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch new file mode 100644 index 0000000000..1b6e890436 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | Fixed host contamination of include files | ||
2 | |||
3 | python3-icu-2.5-r0 do_package_qa: QA Issue: python3-icu: The compile log indicates that host include and/or library paths were used. | ||
4 | |||
5 | Also, don't use icu-config | ||
6 | |||
7 | Upstream-Status: [inappropriate] OE specific | ||
8 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
9 | |||
10 | Index: PyICU-2.5/setup.py | ||
11 | =================================================================== | ||
12 | --- PyICU-2.5.orig/setup.py | ||
13 | +++ PyICU-2.5/setup.py | ||
14 | @@ -81,7 +81,7 @@ Building PyICU %s for ICU %s (max ICU ma | ||
15 | |||
16 | CONFIGURE_WITH_ICU_CONFIG = { | ||
17 | 'darwin': True, | ||
18 | - 'linux': True, | ||
19 | + 'linux': False, | ||
20 | 'freebsd': False, # not tested | ||
21 | 'win32': False, # no icu-config | ||
22 | 'sunos5': False, # not tested | ||
23 | @@ -274,7 +274,6 @@ setup(name="PyICU", | ||
24 | ext_modules=[Extension('_icu', | ||
25 | [filename for filename in sorted(os.listdir(os.curdir)) | ||
26 | if filename.endswith('.cpp')], | ||
27 | - include_dirs=_includes, | ||
28 | extra_compile_args=_cflags, | ||
29 | extra_link_args=_lflags, | ||
30 | libraries=_libraries)], | ||