Skip to content

Commit a6b5917

Browse files
committed
Add patch for pecl_http
1 parent b0e2fd5 commit a6b5917

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

  • extension/BuildPhpExtension/patches
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
$fn = @"
2+
ARG_ENABLE("http", "whether to enable extended HTTP support", "no");
3+
4+
base_dir = get_define('BUILD_DIR');
5+
if (!FSO.FolderExists(base_dir+"\\src")) {
6+
WScript.Echo("Creating " + base_dir + "\\src" + "...");
7+
FSO.CreateFolder(base_dir+"\\src");
8+
}
9+
"@
10+
11+
(Get-Content config.w32) | ForEach-Object { $_.Replace('ARG_ENABLE("http", "whether to enable extended HTTP support", "no");', $fn) } | Set-Content config.w32

0 commit comments

Comments
 (0)