summaryrefslogtreecommitdiff
path: root/Ports/libicu
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-07-08 04:30:14 +0200
committerLinus Groh <mail@linusgroh.de>2022-07-13 21:22:52 +0100
commit9cbf65761d6a528b6720567cc5a7cfe92e55bfa1 (patch)
tree410fd86496c94b266fdb4785211ab1695d84d08d /Ports/libicu
parenteaee7e9d5b19d873210c8f2a9ad3549dc0bd15e1 (diff)
downloadserenity-9cbf65761d6a528b6720567cc5a7cfe92e55bfa1.zip
Ports/libicu: Evaluate the host build folder later
We need this to be the build directory, not the tarball directory.
Diffstat (limited to 'Ports/libicu')
-rwxr-xr-xPorts/libicu/package.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/Ports/libicu/package.sh b/Ports/libicu/package.sh
index 6fb95db2d9..4d6ee59ddf 100755
--- a/Ports/libicu/package.sh
+++ b/Ports/libicu/package.sh
@@ -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"