Fix jsc build. (#3595)

This commit is contained in:
Abhishek Arya 2020-04-08 10:04:45 -07:00 committed by GitHub
parent 42bf235998
commit 2efc17a17e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -22,6 +22,6 @@ RUN wget -q -O - https://github.com/Kitware/CMake/releases/download/v3.14.4/cmak
cd /usr && bash /tmp/install_cmake.sh -- --skip-license && \
rm /tmp/install_cmake.sh
RUN git clone --depth 1 git://git.webkit.org/WebKit.git
RUN wget http://download.icu-project.org/files/icu4c/60.1/icu4c-60_1-src.tgz && tar xzvf icu4c-60_1-src.tgz
RUN wget https://github.com/unicode-org/icu/releases/download/release-66-1/icu4c-66_1-src.tgz && tar xzvf icu4c-66_1-src.tgz
WORKDIR WebKit
COPY build.sh $SRC

View File

@ -21,8 +21,6 @@ mkdir $DEPS_PATH
cd $SRC/icu/source
./configure --disable-shared --enable-static --disable-layoutex \
--disable-tests --disable-samples --with-data-packaging=static --prefix=$DEPS_PATH
# ugly hack to avoid build error
echo '#include <locale.h>' >>i18n/digitlst.h
make install -j$(nproc)
# Ugly ugly hack to get static linking to work for icu.