We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0196080 commit 335daa8Copy full SHA for 335daa8
build-icu.ps1
@@ -128,6 +128,10 @@ function Patch-IcuVcxProj {
128
$content = $content -replace '<OutputFile>[^<]*\.(dll|DLL)</OutputFile>', ''
129
$content = $content -replace '<ImportLibrary>[^<]*</ImportLibrary>', ''
130
131
+ # Strip .rc — rc.exe cannot parse clang stddef.h and static libs do not need version resources.
132
+ $content = $content -replace "(?s)<ResourceCompile[^>]*>.*?</ResourceCompile>", ""
133
+ $content = $content -replace "<ResourceCompile[^>]*/>", ""
134
+
135
# For stubdata - remove resource-only DLL settings
136
if ($FilePath -match "stubdata") {
137
$content = $content -replace '<NoEntryPoint>true</NoEntryPoint>', ''
0 commit comments