diff --git a/experiments/buildSrc/src/main/groovy/org/jetbrains/kotlin/NativeInteropPlugin.groovy b/experiments/buildSrc/src/main/groovy/org/jetbrains/kotlin/NativeInteropPlugin.groovy index a47139ba324..8bf825b3b3a 100644 --- a/experiments/buildSrc/src/main/groovy/org/jetbrains/kotlin/NativeInteropPlugin.groovy +++ b/experiments/buildSrc/src/main/groovy/org/jetbrains/kotlin/NativeInteropPlugin.groovy @@ -28,6 +28,7 @@ class NativeInteropPlugin implements Plugin { args = [srcDir, generatedSrcDir, nativeLibsDir] systemProperties "java.library.path" : new File(prj.findProject(":Interop:Indexer").buildDir, "nativelibs") environment "LIBCLANG_DISABLE_CRASH_RECOVERY": "1" + environment "DYLD_LIBRARY_PATH": "${prj.llvmInstallPath}/lib" inputs.files prj.fileTree(srcDir.path).include('**/*.def')