Skip to content

Commit e7843bf

Browse files
committed
build.ps1: repair Inspect build for Android on Windows
Add additional import search path for Android to repair the build failure due to missing libraries as `-sdk` does not properly add the search path on Android.
1 parent f9e5a2c commit e7843bf

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
@@ -3914,7 +3914,7 @@ function Build-Inspect([Hashtable] $Platform) {
39143914
$InstallPath = "$(Get-PlatformRoot $Platform.OS)\Developer\Library\$(Get-ModuleTriple $Platform)"
39153915
}
39163916

3917-
$SDKROOT = Get-SwiftSDK $Platform.OS
3917+
$SDKROOT = Get-SwiftSDK -OS $Platform.OS -Identifier $Platform.DefaultSDK
39183918

39193919
Build-CMakeProject `
39203920
-Src $SourceCache\swift\tools\swift-inspect `

0 commit comments

Comments
 (0)