1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Stick with icu4c 74.2 on macOS CI for PHP-8.1

PHP-8.1 is not ready for ICU >= 75.1 which requires C++17 support.
Thus we force the usage of icu4c@74, what is scheduled for removal in
May 2025, though.

Closes GH-16789.
This commit is contained in:
Christoph M. Becker
2024-11-13 22:32:04 +01:00
parent d6249b6e1f
commit 9128fb8f1e
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,6 @@ runs:
webp \
freetype \
intltool \
icu4c \
libiconv \
zlib \
t1lib \
@@ -33,4 +32,5 @@ runs:
libjpeg \
libxslt \
postgresql
brew reinstall icu4c@74
brew link icu4c gettext --force

View File

@@ -18,7 +18,7 @@ runs:
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxml2/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxslt/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/zlib/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/icu4c/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/icu4c@74/lib/pkgconfig"
sed -i -e 's/Requires.private:.*//g' "$BREW_OPT/curl/lib/pkgconfig/libcurl.pc"
./buildconf --force
./configure \