Add patch for raphf

This commit is contained in:
Shivam Mathur
2024-05-28 16:20:54 +05:30
parent 2a031a68a7
commit 45e77decd3

View 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