1*4882a593SmuzhiyunFrom afef4a9391e6bb1a6c3e73d370f240577ed8b0dd Mon Sep 17 00:00:00 2001
2*4882a593SmuzhiyunFrom: Khem Raj <raj.khem@gmail.com>
3*4882a593SmuzhiyunDate: Sun, 16 Jan 2022 11:21:54 +0800
4*4882a593SmuzhiyunSubject: [PATCH] Fix icu config
5*4882a593Smuzhiyun
6*4882a593Smuzhiyundo not entertain cppflags from icu, this is because
7*4882a593Smuzhiyunicu-config feeds the -I path without sysroot which
8*4882a593Smuzhiyuncaused native headers to be included and build is
9*4882a593Smuzhiyuncorrupted in any case its just adding -I/usr/include
10*4882a593Smuzhiyunto the CCARGS which we loose nothing if its not
11*4882a593Smuzhiyunentertained.
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunSigned-off-by: Khem Raj <raj.khem@gmail.com>
14*4882a593Smuzhiyun---
15*4882a593Smuzhiyun makedefs | 1 -
16*4882a593Smuzhiyun 1 file changed, 1 deletion(-)
17*4882a593Smuzhiyun
18*4882a593Smuzhiyundiff --git a/makedefs b/makedefs
19*4882a593Smuzhiyunindex 3299eba..2a76f20 100644
20*4882a593Smuzhiyun--- a/makedefs
21*4882a593Smuzhiyun+++ b/makedefs
22*4882a593Smuzhiyun@@ -826,7 +826,6 @@ EOF
23*4882a593Smuzhiyun 		    ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \
24*4882a593Smuzhiyun 			$icu_ldflags >/dev/null 2>&1
25*4882a593Smuzhiyun 		    if ./makedefs.test 2>/dev/null ; then
26*4882a593Smuzhiyun-			CCARGS="$CCARGS $icu_cppflags"
27*4882a593Smuzhiyun 			SYSLIBS="$SYSLIBS $icu_ldflags"
28*4882a593Smuzhiyun 		    else
29*4882a593Smuzhiyun 			CCARGS="$CCARGS -DNO_EAI"
30*4882a593Smuzhiyun--
31*4882a593Smuzhiyun2.17.1
32*4882a593Smuzhiyun
33