diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch b/meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch new file mode 100644 index 0000000000..c45217a88a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | From 8abf79f77d9151d6786da3c8e868117822bce6d4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Fri, 16 Apr 2021 10:48:36 -0700 | ||
| 4 | Subject: [PATCH] Fix host contamination of include files | ||
| 5 | |||
| 6 | 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. | ||
| 7 | |||
| 8 | Also, don't use icu-config | ||
| 9 | |||
| 10 | Upstream-Status: Inappropriate [OE specific] | ||
| 11 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 13 | --- | ||
| 14 | setup.py | 3 +-- | ||
| 15 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/setup.py b/setup.py | ||
| 18 | index e647db4..abed399 100644 | ||
| 19 | --- a/setup.py | ||
| 20 | +++ b/setup.py | ||
| 21 | @@ -81,7 +81,7 @@ Building PyICU %s for ICU %s (max ICU major version supported: %s) | ||
| 22 | |||
| 23 | CONFIGURE_WITH_ICU_CONFIG = { | ||
| 24 | 'darwin': True, | ||
| 25 | - 'linux': True, | ||
| 26 | + 'linux': False, | ||
| 27 | 'freebsd': False, # not tested | ||
| 28 | 'win32': False, # no icu-config | ||
| 29 | 'sunos5': False, # not tested | ||
| 30 | @@ -267,7 +267,6 @@ setup(name="PyICU", | ||
| 31 | ext_modules=[Extension('_icu', | ||
| 32 | [filename for filename in sorted(os.listdir(os.curdir)) | ||
| 33 | if filename.endswith('.cpp')], | ||
| 34 | - include_dirs=_includes, | ||
| 35 | extra_compile_args=_cflags, | ||
| 36 | extra_link_args=_lflags, | ||
| 37 | libraries=_libraries)], | ||
| 38 | -- | ||
| 39 | 2.31.1 | ||
| 40 | |||
