[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
|
private val windowsHostDependencies by lazy {
|
||||||
get() = super.dependencies + when (windowsSdkPartsProvider) {
|
when (windowsSdkPartsProvider) {
|
||||||
WindowsSdkPartsProvider.InternalServer -> listOf(windowsKitParts, msvcParts)
|
WindowsSdkPartsProvider.InternalServer -> listOf(windowsKitParts, msvcParts)
|
||||||
WindowsSdkPartsProvider.Local -> emptyList()
|
WindowsSdkPartsProvider.Local -> emptyList()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
override val dependencies
|
||||||
|
get() = super.dependencies + if (HostManager.hostIsMingw) {
|
||||||
|
windowsHostDependencies
|
||||||
|
} else {
|
||||||
|
emptyList()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun createCustomWindowsKitPath(windowsKitParts: Path): WindowsKit.CustomPath {
|
private fun createCustomWindowsKitPath(windowsKitParts: Path): WindowsKit.CustomPath {
|
||||||
|
|||||||
Reference in New Issue
Block a user