Skip to content

Commit e7a88f1

Browse files
committed
enable fat for gmp when next version releases
1 parent 2f31226 commit e7a88f1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/SPC/builder/unix/library/gmp.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ protected function build(): void
1414
->appendEnv([
1515
'CFLAGS' => '-std=c17',
1616
])
17-
->configure()
17+
->configure(
18+
'--enable-fat'
19+
)
1820
->make();
1921
$this->patchPkgconfPrefix(['gmp.pc']);
2022
}

src/globals/test-extensions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
5252
$extensions = match (PHP_OS_FAMILY) {
53-
'Linux', 'Darwin' => 'mysqli',
53+
'Linux', 'Darwin' => 'mysqli,gmp',
5454
'Windows' => 'bcmath',
5555
};
5656

0 commit comments

Comments
 (0)