[K/N] Don't check for MSVC on Linux and macOS hosts
This commit is contained in:
@@ -34,11 +34,19 @@ class MingwConfigurablesImpl(target: KonanTarget, properties: Properties, baseDi
|
||||
}
|
||||
}
|
||||
|
||||
override val dependencies
|
||||
get() = super.dependencies + when (windowsSdkPartsProvider) {
|
||||
private val windowsHostDependencies by lazy {
|
||||
when (windowsSdkPartsProvider) {
|
||||
WindowsSdkPartsProvider.InternalServer -> listOf(windowsKitParts, msvcParts)
|
||||
WindowsSdkPartsProvider.Local -> emptyList()
|
||||
}
|
||||
}
|
||||
|
||||
override val dependencies
|
||||
get() = super.dependencies + if (HostManager.hostIsMingw) {
|
||||
windowsHostDependencies
|
||||
} else {
|
||||
emptyList()
|
||||
}
|
||||
}
|
||||
|
||||
private fun createCustomWindowsKitPath(windowsKitParts: Path): WindowsKit.CustomPath {
|
||||
|
||||
Reference in New Issue
Block a user