One more fix for MinGW path in K/N runner
This commit is contained in:
committed by
Ilya Matveev
parent
02f2c941c8
commit
be881442da
+2
-3
@@ -157,13 +157,12 @@ internal class KonanInteropRunner(project: Project, additionalJvmArgs: List<Stri
|
||||
project.file("${project.konanHome}/konan/konan.properties").inputStream().use(::load)
|
||||
}
|
||||
val toolchainDir = konanProperties.getProperty("targetToolchain.mingw_x64")
|
||||
|
||||
if (toolchainDir != null) {
|
||||
environment.put(
|
||||
"PATH",
|
||||
DependencyDirectories.defaultDependenciesRoot
|
||||
.resolve("\\$toolchainDir\\bin")
|
||||
.absolutePath + ";${environment.get("PATH")}"
|
||||
.resolve("$toolchainDir/bin")
|
||||
.absolutePath + ";${System.getenv("PATH")}"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user