diff --git a/Interop/StubGenerator/src/main/kotlin/org/jetbrains/kotlin/native/interop/gen/jvm/main.kt b/Interop/StubGenerator/src/main/kotlin/org/jetbrains/kotlin/native/interop/gen/jvm/main.kt index 918f1b5c784..19e5b6557a1 100644 --- a/Interop/StubGenerator/src/main/kotlin/org/jetbrains/kotlin/native/interop/gen/jvm/main.kt +++ b/Interop/StubGenerator/src/main/kotlin/org/jetbrains/kotlin/native/interop/gen/jvm/main.kt @@ -169,6 +169,10 @@ private fun processLib(konanHome: String, val konanFile = File(konanFileName) val konanProperties = loadProperties(konanFile, mapOf()) + // TODO: We use -Dkonan.home in the absence of fully built 'dist' + // to locate the 'dependencies' directory. + // Eventually we need to pull the necessary content into 'dist'. + // And provide a set of flags to find the components in the absence of 'dist'. val llvmHome = konanProperties.getOsSpecific("llvmHome")!! val dependencies = File("$konanHome/../dependencies/all").canonicalPath val llvmInstallPath = "$dependencies/$llvmHome"