diff --git a/config/ext.json b/config/ext.json index e74f64af1..6d5765e57 100644 --- a/config/ext.json +++ b/config/ext.json @@ -623,6 +623,14 @@ "dom" ] }, + "yac": { + "type": "external", + "source": "yac", + "arg-type-unix": "custom", + "ext-depends-unix": [ + "igbinary" + ] + }, "yaml": { "type": "external", "source": "yaml", diff --git a/config/source.json b/config/source.json index 6ed35f5de..870993476 100644 --- a/config/source.json +++ b/config/source.json @@ -673,6 +673,16 @@ "path": "COPYING" } }, + "yac": { + "type": "url", + "url": "https://pecl.php.net/get/yac", + "path": "php-src/ext/yac", + "filename": "yac.tgz", + "license": { + "type": "file", + "path": "LICENSE" + } + }, "yaml": { "type": "git", "path": "php-src/ext/yaml", diff --git a/src/SPC/builder/extension/yac.php b/src/SPC/builder/extension/yac.php new file mode 100644 index 000000000..a4152e428 --- /dev/null +++ b/src/SPC/builder/extension/yac.php @@ -0,0 +1,26 @@ + 'pgsql,intl,xml,openssl', - 'Windows' => 'mbstring,pdo_sqlite,mbregex,ffi,ds,simdjson', + 'Linux', 'Darwin' => 'yac', + 'Windows' => 'mbstring,pdo_sqlite,mbregex,yac', }; // If you want to test lib-suggests feature with extension, add them below (comma separated, example `libwebp,libavif`).