File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
1
armeabi
2
2
armeabi-v7a
3
+ mips
4
+ x86
Original file line number Diff line number Diff line change @@ -92,6 +92,9 @@ cd $BUILDDIR/$ARCH
92
92
cd ..
93
93
} || exit 1
94
94
95
+ sed -i " s@LD_SONAME *=.*@LD_SONAME =@g" config/mh-linux
96
+ sed -i " s%ln -s *%cp -f \$ (dir \$ @)/%g" config/mh-linux
97
+
95
98
env CFLAGS=" -I$NDK /sources/android/support/include -frtti -fexceptions" \
96
99
LDFLAGS=" -frtti -fexceptions" \
97
100
LIBS=" -L$BUILDDIR /$ARCH -landroid_support -lgnustl_static -lstdc++" \
@@ -104,19 +107,21 @@ cd $BUILDDIR/$ARCH
104
107
--with-data-packaging=archive \
105
108
|| exit 1
106
109
110
+ sed -i " s@^prefix *= *.*@prefix = .@" icudefs.mk || exit 1
111
+
107
112
env PATH=` pwd` :$PATH \
108
113
$BUILDDIR /setCrossEnvironment-$ARCH .sh \
109
114
make -j$NCPU VERBOSE=1 || exit 1
110
115
116
+ sed -i " s@^prefix *= *.*@prefix = ` pwd` /../../@" icudefs.mk || exit 1
117
+
111
118
env PATH=` pwd` :$PATH \
112
119
$BUILDDIR /setCrossEnvironment-$ARCH .sh \
113
120
make V=1 install || exit 1
114
121
115
- # cp -f -a share ../../
116
-
117
- for f in libicudata libicui18n libicuio libicule libiculx libicutu libicuuc; do
118
- cp -f lib/$f .so ../../
119
- cp -f lib/$f .a ../../
122
+ for f in libicudata libicutest libicui18n libicuio libicule libiculx libicutu libicuuc; do
123
+ cp -f -H ../../lib/$f .so ../../
124
+ cp -f ../../lib/$f .a ../../
120
125
$BUILDDIR /setCrossEnvironment-$ARCH .sh \
121
126
sh -c ' $STRIP' " ../../$f .so"
122
127
done
You can’t perform that action at this time.
0 commit comments