mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Ports/libicu: Evaluate the host build folder later
We need this to be the build directory, not the tarball directory.
This commit is contained in:
parent
eaee7e9d5b
commit
9cbf65761d
Notes:
sideshowbarker
2024-07-17 09:00:09 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/9cbf65761d Pull-request: https://github.com/SerenityOS/serenity/pull/14542 Reviewed-by: https://github.com/BertalanD Reviewed-by: https://github.com/linusg ✅
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,6 @@ version=69.1
|
|||
useconfigure=true
|
||||
use_fresh_config_sub=true
|
||||
workdir=icu/source
|
||||
configopts=("--with-cross-build=$(pwd)/${workdir}/../host-build")
|
||||
files="https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version//./_}-src.tgz icu4c-${version//./_}-src.tgz 4cba7b7acd1d3c42c44bb0c14be6637098c7faf2b330ce876bc5f3b915d09745"
|
||||
auth_type=sha256
|
||||
|
||||
|
@ -13,7 +12,7 @@ configure() {
|
|||
run mkdir -p ../host-build
|
||||
run sh -c "cd ../host-build && ../source/configure && make ${makeopts[@]}"
|
||||
target_env
|
||||
run ./configure --host="${SERENITY_ARCH}-pc-serenity" "${configopts[@]}"
|
||||
run ./configure --host="${SERENITY_ARCH}-pc-serenity" "--with-cross-build=$(pwd)/${workdir}/../host-build"
|
||||
}
|
||||
|
||||
export CFLAGS="-DU_HAVE_NL_LANGINFO_CODESET=0"
|
||||
|
|
Loading…
Reference in a new issue