From ba37e69e1bf49ccccde3c0f03898f71e0660a045 Mon Sep 17 00:00:00 2001 From: LepilkinaElena Date: Tue, 17 Sep 2019 11:10:01 +0300 Subject: [PATCH] Added library in benchmarks (#3349) --- .../kotlin/org/jetbrains/kotlin/benchmark/BenchmarkingPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tools/src/main/kotlin/org/jetbrains/kotlin/benchmark/BenchmarkingPlugin.kt b/build-tools/src/main/kotlin/org/jetbrains/kotlin/benchmark/BenchmarkingPlugin.kt index 2a18d59d75a..37e06088fa3 100644 --- a/build-tools/src/main/kotlin/org/jetbrains/kotlin/benchmark/BenchmarkingPlugin.kt +++ b/build-tools/src/main/kotlin/org/jetbrains/kotlin/benchmark/BenchmarkingPlugin.kt @@ -173,7 +173,7 @@ open class BenchmarkingPlugin: Plugin { private fun Project.configureNativeTarget(hostPreset: KotlinNativeTargetPreset) { kotlin.targetFromPreset(hostPreset, NATIVE_TARGET_NAME) { - compilations.getByName("main").kotlinOptions.freeCompilerArgs = project.compilerArgs + compilations.getByName("main").kotlinOptions.freeCompilerArgs = project.compilerArgs + listOf("-l", "kotlinx-cli") binaries.executable(NATIVE_EXECUTABLE_NAME, listOf(RELEASE)) { if (HostManager.hostIsMingw) { linkerOpts.add("-L${mingwPath}/lib")