From 12282c9597ef0c7329c0f382c5953c6248a43a62 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Wed, 7 Jun 2023 09:26:20 +0530 Subject: [PATCH] Add support for ts intl builds --- src/scripts/extensions/intl.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scripts/extensions/intl.sh b/src/scripts/extensions/intl.sh index d5648603..a1ba481d 100644 --- a/src/scripts/extensions/intl.sh +++ b/src/scripts/extensions/intl.sh @@ -15,8 +15,9 @@ add_intl() { if [ "$icu" != "$supported_version" ]; then add_log "${cross:?}" "intl" "ICU $icu is not supported" else + [ "${ts:?}" = 'zts' ] && suffix='-zts' install_icu "$icu" >/dev/null 2>&1 - get -q -n "${ext_dir:?}/intl.so" "https://github.com/shivammathur/icu-intl/releases/download/intl/php${version:?}-intl-$icu.so" + get -q -n "${ext_dir:?}/intl.so" "https://github.com/shivammathur/icu-intl/releases/download/intl/php${version:?}-intl-$icu$suffix.so" enable_extension intl extension add_extension_log intl "Installed and enabled with ICU $icu" fi