We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f4f2d3 commit 326ddcaCopy full SHA for 326ddca
aws-crt-kotlin/build.gradle.kts
@@ -223,3 +223,12 @@ private val KotlinNativeTarget.isBuildableOnHost: Boolean
223
throw Exception("Unsupported host: ${HostManager.host}")
224
}
225
226
+
227
+private fun findMingwHome(): String =
228
+ System.getenv("MINGW_PREFIX")?.takeUnless { it.isBlank() }
229
+ ?: typedProp("mingw.prefix")
230
+ ?: throw IllegalStateException(
231
+ "Cannot determine MinGW prefix location. Please verify MinGW is installed correctly " +
232
+ "and that either the `MINGW_PREFIX` environment variable or the `mingw.prefix` Gradle property is set.",
233
+ )
234
0 commit comments