From cde46adc0898793431793e99fb37661ced0f8818 Mon Sep 17 00:00:00 2001 From: Pavel Punegov Date: Thu, 25 Aug 2022 11:51:13 +0200 Subject: [PATCH] [K/N][samples] Use mingw preinstalled only in the exact place Newer versions got be env variable lead to linkage errors --- kotlin-native/samples/curl/build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kotlin-native/samples/curl/build.gradle.kts b/kotlin-native/samples/curl/build.gradle.kts index 0d490deae05..9cdcfac40fe 100644 --- a/kotlin-native/samples/curl/build.gradle.kts +++ b/kotlin-native/samples/curl/build.gradle.kts @@ -8,7 +8,8 @@ repositories { maven("file://$localRepo") } -val mingwPath = File(System.getenv("MINGW64_DIR") ?: "C:/msys64/mingw64") +//val mingwPath = File(System.getenv("MINGW64_DIR") ?: "C:/msys64/mingw64") +val mingwPath = File("C:/msys64/mingw64") // use only preinstalled verions from this path, otherwise fail with linkage errors kotlin { // Determine host preset.