Commit 5457581 1 parent 0503e8b commit 5457581 Copy full SHA for 5457581
File tree 4 files changed +39
-0
lines changed
4 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 163
163
url = https://github.com/linux-pam/linux-pam.git
164
164
ignore = dirty
165
165
shallow = true
166
+ [submodule "ext/icu "]
167
+ path = ext/icu
168
+ url = https://github.com/unicode-org/icu.git
169
+ ignore = dirty
170
+ shallow = true
Original file line number Diff line number Diff line change 1
1
crosstool-ng
2
+ icu4c
2
3
* /root
3
4
* /.build
4
5
* /.config.old
@@ -38,3 +39,4 @@ crosstool-ng
38
39
* /libxext
39
40
* /linux-pam
40
41
* /libcups
42
+ * /icu4c
Original file line number Diff line number Diff line change @@ -844,6 +844,37 @@ then
844
844
popd
845
845
fi
846
846
847
+ # build icu4c for current platform
848
+ if [ ! -f $sdk /icu4c/stamp ]
849
+ then
850
+ mkdir -p $sdk /icu4c
851
+ pushd $sdk /icu4c
852
+ $ext /icu/icu4c/source/configure
853
+ make
854
+ touch stamp
855
+ popd
856
+ fi
857
+
858
+ # build icu4c
859
+ if [ ! -f $home /icu4c/stamp ]
860
+ then
861
+ mkdir -p $home /icu4c
862
+ pushd $home /icu4c
863
+ PKG_CONFIG_PATH=$dist /lib/pkgconfig:$dist /share/pkgconfig \
864
+ PKG_CONFIG_SYSROOT_DIR=$dist \
865
+ $ext /icu/icu4c/source/configure \
866
+ --host=$SDK_TARGET \
867
+ --target=$SDK_TARGET \
868
+ --prefix=" " \
869
+ --with-sysroot=$dist \
870
+ --with-cross-build=$sdk /icu4c \
871
+ $SDK_LIBICU4C_ARGS
872
+ make
873
+ make DESTDIR=$dist install
874
+ touch stamp
875
+ popd
876
+ fi
877
+
847
878
# adjust symlinks to relative paths
848
879
symlinks -cr $dist
849
880
You can’t perform that action at this time.
0 commit comments