diff --git a/tools/kotlin-native-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/tasks/KonanGenerateCMakeTask.kt b/tools/kotlin-native-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/tasks/KonanGenerateCMakeTask.kt index 05e25c30fa4..83a0e9cb83e 100644 --- a/tools/kotlin-native-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/tasks/KonanGenerateCMakeTask.kt +++ b/tools/kotlin-native-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/tasks/KonanGenerateCMakeTask.kt @@ -123,7 +123,7 @@ open class KonanGenerateCMakeTask : DefaultTask() { }.joinToString(" ") private val KonanCompileTask.cMakeLinkerOpts: String - get() = linkerOpts.joinToString(" ") + get() = linkerOpts.joinToString(" ").replace('\\', '/') } private class Call(val name: String) {