Skip to content

Commit a5cc34f

Browse files
committed
build.ps1: adjust search path for dispatch for Android
The current build relocates the headers to the proper location which was not previously done. Adjust the search paths accordingly.
1 parent 8975d1a commit a5cc34f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3064,7 +3064,7 @@ function Build-XCTest([Hashtable] $Platform) {
30643064
$SwiftFlags = if ($Platform.OS -eq [OS]::Windows) {
30653065
@();
30663066
} else {
3067-
@("-I$(Get-SwiftSDK -OS $Platform.OS -Identifier $Platform.DefaultSDK)\usr\lib\swift");
3067+
@("-I$(Get-SwiftSDK -OS $Platform.OS -Identifier $Platform.DefaultSDK)\usr\include");
30683068
}
30693069

30703070
Build-CMakeProject `
@@ -3127,7 +3127,7 @@ function Build-Testing([Hashtable] $Platform) {
31273127
$SwiftFlags = if ($Platform.OS -eq [OS]::Windows) {
31283128
@();
31293129
} else {
3130-
@("-I$(Get-SwiftSDK -OS $Platform.OS -Identifier $Platform.DefaultSDK)\usr\lib\swift");
3130+
@("-I$(Get-SwiftSDK -OS $Platform.OS -Identifier $Platform.DefaultSDK)\usr\include");
31313131
}
31323132

31333133
Build-CMakeProject `

0 commit comments

Comments
 (0)