enable fat for gmp when next version releases

This commit is contained in:
henderkes 2025-12-29 21:15:53 +01:00
parent 2f3122627e
commit e7a88f1df7
2 changed files with 4 additions and 2 deletions

View File

@ -14,7 +14,9 @@ trait gmp
->appendEnv([ ->appendEnv([
'CFLAGS' => '-std=c17', 'CFLAGS' => '-std=c17',
]) ])
->configure() ->configure(
'--enable-fat'
)
->make(); ->make();
$this->patchPkgconfPrefix(['gmp.pc']); $this->patchPkgconfPrefix(['gmp.pc']);
} }

View File

@ -50,7 +50,7 @@ $prefer_pre_built = false;
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`). // If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
$extensions = match (PHP_OS_FAMILY) { $extensions = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'mysqli', 'Linux', 'Darwin' => 'mysqli,gmp',
'Windows' => 'bcmath', 'Windows' => 'bcmath',
}; };