mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
9cbf65761d
We need this to be the build directory, not the tarball directory.
20 lines
721 B
Bash
Executable File
20 lines
721 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=libicu
|
|
version=69.1
|
|
useconfigure=true
|
|
use_fresh_config_sub=true
|
|
workdir=icu/source
|
|
files="https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version//./_}-src.tgz icu4c-${version//./_}-src.tgz 4cba7b7acd1d3c42c44bb0c14be6637098c7faf2b330ce876bc5f3b915d09745"
|
|
auth_type=sha256
|
|
|
|
configure() {
|
|
host_env
|
|
run mkdir -p ../host-build
|
|
run sh -c "cd ../host-build && ../source/configure && make ${makeopts[@]}"
|
|
target_env
|
|
run ./configure --host="${SERENITY_ARCH}-pc-serenity" "--with-cross-build=$(pwd)/${workdir}/../host-build"
|
|
}
|
|
|
|
export CFLAGS="-DU_HAVE_NL_LANGINFO_CODESET=0"
|
|
export CXXFLAGS="-DU_HAVE_NL_LANGINFO_CODESET=0"
|