diff --git a/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy b/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy index 0e123e94d4f..90ad26106f3 100644 --- a/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy +++ b/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy @@ -218,7 +218,7 @@ class RunInteropKonanTest extends KonanTest { List linkerArguments = interopConf.linkerOpts // TODO: add arguments from .def file List compilerArguments = ["-library", interopBc, "-nativelibrary", interopStubsBc] + - linkerArguments.collectMany { ["-linkerArg", it] } + linkerArguments.collectMany { ["-linkerArgs", it] } runCompiler(filesToCompile, exe, compilerArguments) }