mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Fix ncurses pkg-config bug temporarily (#432)
* Fix ncurses pkg-config bug temporarily * Add tests
This commit is contained in:
parent
15c2935d48
commit
3ecc603770
@ -480,9 +480,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ncurses": {
|
"ncurses": {
|
||||||
"type": "filelist",
|
"alt": {
|
||||||
"url": "https://ftp.gnu.org/pub/gnu/ncurses/",
|
"type": "filelist",
|
||||||
"regex": "/href=\"(?<file>ncurses-(?<version>[^\"]+)\\.tar\\.gz)\"/",
|
"url": "https://ftp.gnu.org/pub/gnu/ncurses/",
|
||||||
|
"regex": "/href=\"(?<file>ncurses-(?<version>[^\"]+)\\.tar\\.gz)\"/"
|
||||||
|
},
|
||||||
|
"type": "url",
|
||||||
|
"url": "https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.4.tar.gz",
|
||||||
"license": {
|
"license": {
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"path": "COPYING"
|
"path": "COPYING"
|
||||||
|
|||||||
@ -13,7 +13,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
// 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' => 'imagick',
|
'Linux', 'Darwin' => 'readline',
|
||||||
'Windows' => 'mbstring,pdo_sqlite,mbregex',
|
'Windows' => 'mbstring,pdo_sqlite,mbregex',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user