mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
enable fat for gmp when next version releases
This commit is contained in:
parent
2f3122627e
commit
e7a88f1df7
@ -14,7 +14,9 @@ trait gmp
|
||||
->appendEnv([
|
||||
'CFLAGS' => '-std=c17',
|
||||
])
|
||||
->configure()
|
||||
->configure(
|
||||
'--enable-fat'
|
||||
)
|
||||
->make();
|
||||
$this->patchPkgconfPrefix(['gmp.pc']);
|
||||
}
|
||||
|
||||
@ -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`).
|
||||
$extensions = match (PHP_OS_FAMILY) {
|
||||
'Linux', 'Darwin' => 'mysqli',
|
||||
'Linux', 'Darwin' => 'mysqli,gmp',
|
||||
'Windows' => 'bcmath',
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user