Skip to content

Commit

Permalink
Add support for ts intl builds
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jun 7, 2023
1 parent 592bbc7 commit 12282c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/extensions/intl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12282c9

Please sign in to comment.