[pecl-web_services-oauth] master: Add brotli and zstd checks for Windows builds

From: Date: Mon, 11 May 2026 06:35:16 +0000
Subject: [pecl-web_services-oauth] master: Add brotli and zstd checks for Windows builds
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-28551@lists.php.net to get a copy of this message
Author: Shivam Mathur (shivammathur) Date: 2026-05-11T12:04:21+05:30 Commit: https://github.com/php/pecl-web_services-oauth/commit/9cf04085d22582070a90324eb3dc50c7ab2c7cba Raw diff: https://github.com/php/pecl-web_services-oauth/commit/9cf04085d22582070a90324eb3dc50c7ab2c7cba.diff Add brotli and zstd checks for Windows builds This fixes the build with recent builds of curl that have support for brotli and zstd encoding Changed paths: M config.w32 Diff: diff --git a/config.w32 b/config.w32 index d2aaccb..bc19ff8 100644 --- a/config.w32 +++ b/config.w32 @@ -15,6 +15,9 @@ if (PHP_OAUTH != "no") { && (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib", "oauth", PHP_OAUTH) || CHECK_LIB("zlib.lib", "oauth", PHP_OAUTH))) || (PHP_ZLIB_SHARED && CHECK_LIB("zlib.lib", "oauth", PHP_OAUTH)) || (PHP_ZLIB == "yes" && (!PHP_ZLIB_SHARED))) ) { + CHECK_LIB("brotlidec-static.lib;brotlidec.lib", "oauth", PHP_OAUTH); + CHECK_LIB("brotlicommon-static.lib;brotlicommon.lib", "oauth", PHP_OAUTH); + CHECK_LIB("libzstd_a.lib;libzstd.lib", "oauth", PHP_OAUTH); EXTENSION("oauth", "oauth.c provider.c", true); ADD_FLAG("CFLAGS_OAUTH", "/D CURL_STATICLIB"); ADD_FLAG("CFLAGS_OAUTH", "/D OAUTH_USE_CURL");

« previous php.pecl.cvs (#28551) next »