1From a82fea9663f0c70cf57cd06650f400e878afc5e4 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> 13Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> 14--- 15 setup.py | 3 +-- 16 1 file changed, 1 insertion(+), 2 deletions(-) 17 18diff --git a/setup.py b/setup.py 19index 176c9ab..0a10268 100644 20--- a/setup.py 21+++ b/setup.py 22@@ -68,7 +68,7 @@ elif platform.startswith('freebsd'): 23 24 CONFIGURE_WITH_ICU_CONFIG = { 25 'darwin': False, 26- 'linux': True, 27+ 'linux': False, 28 'freebsd': False, # not tested 29 'win32': False, # no icu-config 30 'sunos5': False, # not tested 31@@ -277,7 +277,6 @@ setup(name="PyICU", 32 ext_modules=[Extension('icu._icu_', 33 [filename for filename in sorted(os.listdir(os.curdir)) 34 if filename.endswith('.cpp')], 35- include_dirs=_includes, 36 extra_compile_args=_cflags, 37 extra_link_args=_lflags, 38 libraries=_libraries)], 39-- 402.34.1 41 42