diff --git a/InteropExample/build.gradle b/InteropExample/build.gradle index c0cc24f0e8c..4b06b429071 100644 --- a/InteropExample/build.gradle +++ b/InteropExample/build.gradle @@ -31,3 +31,7 @@ dependencies { } mainClassName = 'MainKt' + +run { + environment 'LD_LIBRARY_PATH' : "$llvmDir/lib" +} diff --git a/backend.native/build.gradle b/backend.native/build.gradle index 7637a90e8ec..aa1625fe52d 100644 --- a/backend.native/build.gradle +++ b/backend.native/build.gradle @@ -86,6 +86,8 @@ task run(type: JavaExec) { doFirst { args '-runtime', project(':runtime').build.outputs.files.singleFile } + + environment 'LD_LIBRARY_PATH' : "$llvmDir/lib" }