mirror of
https://github.com/php-win-ext/php-windows-builder.git
synced 2026-03-24 00:52:06 +01:00
Add patch for raphf
This commit is contained in:
10
extension/BuildPhpExtension/patches/raphf.ps1
Normal file
10
extension/BuildPhpExtension/patches/raphf.ps1
Normal file
@@ -0,0 +1,10 @@
|
||||
$fn = @"
|
||||
ARG_ENABLE("raphf", "for raphf support", "no");
|
||||
|
||||
base_dir = get_define('BUILD_DIR');
|
||||
WScript.Echo("Creating " + base_dir + "\\src" + "...");
|
||||
FSO.CreateFolder(base_dir+"\\src");
|
||||
"@
|
||||
|
||||
(Get-Content config.w32) | ForEach-Object { $_.Replace('ARG_ENABLE("raphf", "for raphf support", "no");', $fn) } | Set-Content config.w32
|
||||
(Get-Content config.w32) | ForEach-Object { $_.Replace('ADD_SOURCES', '//ADD_SOURCES') } | Set-Content config.w32
|
||||
Reference in New Issue
Block a user