File tree 2 files changed +4
-10
lines changed
2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -355,20 +355,13 @@ public struct Driver {
355
355
return VirtualPath . lookup ( rawSdkPath)
356
356
} ( )
357
357
358
- lazy var iosMacFrameworksBase : VirtualPath = {
358
+ lazy var iosMacFrameworksSearchPath : VirtualPath = {
359
359
sdkPath!
360
360
. appending ( component: " System " )
361
361
. appending ( component: " iOSSupport " )
362
362
. appending ( component: " System " )
363
363
. appending ( component: " Library " )
364
- } ( )
365
-
366
- lazy var iosMacFrameworksSearchPath : VirtualPath = {
367
- iosMacFrameworksBase. appending ( component: " Frameworks " )
368
- } ( )
369
-
370
- lazy var iosMacPrivateFrameworksSearchPath : VirtualPath = {
371
- iosMacFrameworksBase. appending ( component: " PrivateFrameworks " )
364
+ . appending ( component: " Frameworks " )
372
365
} ( )
373
366
374
367
lazy var abiDescriptorPath : TypedVirtualPath ? = {
Original file line number Diff line number Diff line change @@ -598,7 +598,8 @@ extension Driver {
598
598
commandLine. append ( . path( iosMacFrameworksSearchPath) )
599
599
if isInternal {
600
600
commandLine. appendFlag ( . Fsystem)
601
- commandLine. append ( . path( iosMacPrivateFrameworksSearchPath) )
601
+ commandLine. append ( . path( iosMacFrameworksSearchPath. parentDirectory
602
+ . appending ( component: " PrivateFrameworks " ) ) )
602
603
}
603
604
}
604
605
if isInternal {
You can’t perform that action at this time.
0 commit comments