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 9428a7d commit 3801d2cCopy full SHA for 3801d2c
runtime/runtime-core/build.gradle.kts
@@ -3,6 +3,7 @@
3
* SPDX-License-Identifier: Apache-2.0
4
*/
5
6
+import aws.sdk.kotlin.gradle.kmp.NATIVE_ENABLED
7
import aws.sdk.kotlin.gradle.util.typedProp
8
import org.jetbrains.kotlin.konan.target.HostManager
9
import java.nio.file.Files
@@ -63,7 +64,7 @@ kotlin {
63
64
}
65
66
- if (HostManager.hostIsMingw) {
67
+ if (NATIVE_ENABLED && HostManager.hostIsMingw) {
68
mingwX64 {
69
val mingwHome = findMingwHome()
70
val defPath = layout.buildDirectory.file("cinterop/winver.def")
0 commit comments