Skip to content

Commit cd3e57a

Browse files
committed
Flesh out Windows ToolchainInfo.plist
- Add FallbackLibraryPaths to usr/bin - swift-build uses this to lookup dlls like libclang - Fill in the version field used to construct runtime library paths
1 parent c2e36de commit cd3e57a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1709,7 +1709,7 @@ function Build-Compilers() {
17091709
})
17101710
}
17111711

1712-
Invoke-Program "$(Get-PythonExecutable)" -c "import plistlib; print(str(plistlib.dumps({ 'Identifier': '${ToolchainIdentifier}' }), encoding='utf-8'))" `
1712+
Invoke-Program "$(Get-PythonExecutable)" -c "import plistlib; print(str(plistlib.dumps({ 'Identifier': '${ToolchainIdentifier}', 'FallbackLibrarySearchPaths': ['usr/bin'], 'Version': '${ProductVersion}' }), encoding='utf-8'))" `
17131713
-OutFile "$($Arch.ToolchainInstallRoot)\ToolchainInfo.plist"
17141714
}
17151715

0 commit comments

Comments
 (0)