diff --git a/backend.native/tests/build.gradle b/backend.native/tests/build.gradle index 2c527d61370..48ce6bb6f89 100644 --- a/backend.native/tests/build.gradle +++ b/backend.native/tests/build.gradle @@ -29,7 +29,9 @@ public class KonanTest extends DefaultTask { classpath = classpathSs args "-output", "${sourceBc.absolutePath}", "-runtime", "${runtimeBc.absolutePath}", - "${sourceKt.absolutePath}" + "${sourceKt.absolutePath}", + project.project(':runtime').file('src/main/kotlin') + jvmArgs "-Djava.library.path=${backendNative.buildDir.canonicalPath}/nativelibs" } def runtimeS = bc2s(runtimeBc)