1 --- misc/icu/source/config/mh-linux
2 +++ misc/build/icu/source/config/mh-linux
5 ## Compiler switch to embed a library name
6 # The initial tab in the next line is to prevent icu-config from reading it.
7 - LD_SONAME = -Wl,-soname -Wl,$(notdir $(MIDDLE_SO_TARGET))
8 +# LD_SONAME = -Wl,-soname -Wl,$(notdir $(MIDDLE_SO_TARGET))
9 #SH# # We can't depend on MIDDLE_SO_TARGET being set.
12 --- misc/icu/source/configure
13 +++ misc/build/icu/source/configure
16 icu_cv_host_frag=mh-linux-va
18 -*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) icu_cv_host_frag=mh-linux ;;
19 +*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu|*-*-*-androideabi*) icu_cv_host_frag=mh-linux ;;
20 *-*-cygwin|*-*-mingw32|*-*-mingw64)
21 if test "$GCC" = yes; then
22 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24 # Check to see if genccode can generate simple assembly.
27 +arm-*-linux-androideabi)
28 + GENCCODE_ASSEMBLY="-a gcc-android-arm"
30 *-linux*|*-kfreebsd*-gnu*|i*86-*-*bsd*|i*86-pc-gnu)
31 if test "$GCC" = yes; then
32 # We're using gcc, and the simple -a gcc command line works for genccode
33 @@ -7200,6 +7203,10 @@
35 CHECK_UTF16_STRING_RESULT="available"
37 +*-*-*-androideabi|mips-unknown-linux-android)
38 + # no UTF-16 strings thanks, I think, this is to avoid the -std=c++0x which causes trouble with uint64_t
39 + CHECK_UTF16_STRING_RESULT="nope"
44 --- misc/icu/source/common/putilimp.h
45 +++ misc/build/icu/source/common/putilimp.h
47 /* Use the predefined value. */
48 #elif U_PLATFORM_HAS_WIN32_API
49 # define U_HAVE_NL_LANGINFO_CODESET 0
50 +#elif defined(__ANDROID__)
51 +# define U_HAVE_NL_LANGINFO_CODESET 0
53 # define U_HAVE_NL_LANGINFO_CODESET 1
55 --- misc/icu/source/common/unicode/platform.h
56 +++ misc/build/icu/source/common/unicode/platform.h
58 #elif defined(U_STATIC_IMPLEMENTATION)
60 #elif defined(__GNUC__)
61 -# define U_EXPORT __attribute__((visibility("default")))
63 #elif (defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x550) \
64 || (defined(__SUNPRO_C) && __SUNPRO_C >= 0x550)
65 # define U_EXPORT __global