Specify K/N default libs directory more precisely (#1934)

This commit is contained in:
Ilya Matveev
2018-10-21 10:50:46 +07:00
committed by GitHub
parent b83df18e22
commit 9ccaef2f6b
@@ -68,7 +68,7 @@ internal fun MutableList<String>.addListArg(parameter: String, values: List<Stri
}
private fun File.providedByCompiler(project: Project): Boolean =
toPath().startsWith(project.file(project.konanHome).toPath())
toPath().startsWith(project.file(project.konanHome).resolve("klib").toPath())
// We need to filter out interop duplicates because we create copy of them for IDE.
// TODO: Remove this after interop rework.