blob: c45217a88a35c280272edd46ec784e81c94574e8 [file] [log] [blame]
Andrew Geisslerf103a7f2021-05-07 16:09:40 -05001From 8abf79f77d9151d6786da3c8e868117822bce6d4 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 16 Apr 2021 10:48:36 -0700
4Subject: [PATCH] Fix host contamination of include files
5
6python3-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
8Also, don't use icu-config
9
10Upstream-Status: Inappropriate [OE specific]
11Signed-off-by: Armin Kuster <akuster808@gmail.com>
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 setup.py | 3 +--
15 1 file changed, 1 insertion(+), 2 deletions(-)
16
17diff --git a/setup.py b/setup.py
18index 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--
392.31.1
40