Skip to content

Commit bf2de71

Browse files
committed
Disable adding '-external-plugin-path' in integrated driver mode
rdar://109060298
1 parent 661d59f commit bf2de71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/SwiftDriver/Toolchains/DarwinToolchain.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@ public final class DarwinToolchain: Toolchain {
376376
// Pass -external-plugin-path if the current toolchain is not a Xcode
377377
// default toolchain.
378378
if
379+
!driver.integratedDriver,
379380
driver.isFrontendArgSupported(.externalPluginPath),
380381
let xcodeDir = try self.findCurrentSelectedXcodeDir(),
381382
try !self.executableDir.isDescendant(of: xcodeDir),

0 commit comments

Comments
 (0)