File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ . scripts/emsdk-fetch.sh
4
+
5
+
6
+ cd ${ROOT} /src
7
+
8
+ if [ -d icu ]
9
+ then
10
+ echo ok
11
+ else
12
+ wget -c https://github.com/unicode-org/icu/releases/download/release-75-1/icu4c-75_1-src.tgz
13
+ tar xf icu4c-75_1-src.tgz
14
+ fi
15
+
16
+ if [ -f $PREFIX /lib/libicu.a ]
17
+ then
18
+ echo "
19
+ already built in $PREFIX /lib/libicu.a
20
+ "
21
+ else
22
+
23
+ mkdir -p $ROOT /build/libicu
24
+
25
+ pushd $ROOT /build/libicu
26
+ emconfigure ../../src/icu/source/configure --prefix=$PREFIX \
27
+ --disable-shared --enable-static \
28
+ --disable-samples --disable-tests --disable-tools \
29
+ --disable-extras --disable-draft
30
+ emmake make install
31
+ popd
32
+ fi
33
+
34
+
35
+
Original file line number Diff line number Diff line change 25
25
pushd $ROOT /build/libxml2
26
26
emconfigure ${ROOT} /src/libxml2/configure --prefix=$PREFIX \
27
27
--with-http=no --with-ftp=no --with-python=no --with-threads=no \
28
- --enable-shared=no --enable-static=yes
28
+ --enable-shared=no --enable-static=yes \
29
+ --without-icu
29
30
30
31
# --enable-shared=yes => link error of
31
32
# wasm-ld: error: xmllint-xmllint.o: undefined symbol: xmlMemSetup
You can’t perform that action at this time.
0 commit comments