Add support for pecl_http on Windows for PHP 7.1 to 8.0

This commit is contained in:
Shivam Mathur
2021-02-12 18:34:27 +05:30
parent 356e1a5128
commit 57c17e3349
5 changed files with 63 additions and 3 deletions

View File

@ -428,7 +428,7 @@ export async function customPackage(
version: string,
os_version: string
): Promise<string> {
const pkg_name: string = pkg.replace(/\d+|pdo[_-]/, '');
const pkg_name: string = pkg.replace(/\d+|(pdo|pecl)[_-]/, '');
const script_extension: string = await scriptExtension(os_version);
const script: string = path.join(
__dirname,