diff --git a/kotlin-native/backend.native/tests/build.gradle b/kotlin-native/backend.native/tests/build.gradle index 681169a6ecd..0863e385c26 100644 --- a/kotlin-native/backend.native/tests/build.gradle +++ b/kotlin-native/backend.native/tests/build.gradle @@ -4047,6 +4047,7 @@ def generateWithSpaceDefFile() { mapOption = "\"-Wl,--Map,${buildDir}/cutom map.map\"" } + buildDir.mkdirs() def file = new File("${buildDir}/withSpaces.def") file.write """ headers = stdio.h "${projectDir}/interop/basics/custom headers/custom.h"