Allow depending on Native stdlib even if platforms do not match under HMPP

^KT-40102
This commit is contained in:
Dmitry Savvinov
2020-07-09 12:18:32 +07:00
parent 21026001db
commit 5c88b1e80a
2 changed files with 14 additions and 8 deletions
@@ -153,6 +153,7 @@ class NativePlatformKindResolution : IdePlatformKindResolution {
class NativeKlibLibraryInfo(project: Project, library: Library, libraryRoot: String) :
AbstractKlibLibraryInfo(project, library, libraryRoot) {
// If you're changing this, please take a look at ideaModelDependencies as well
val isStdlib: Boolean get() = libraryRoot.endsWith(KONAN_STDLIB_NAME)
override val capabilities: Map<ModuleDescriptor.Capability<*>, Any?>