From 6f0cfb989a4dcef8bc86296f9deac3beca993620 Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Thu, 22 Sep 2016 17:24:34 +0300 Subject: [PATCH] buildSrc: added DYLD_LIBRARY_PATH to pass it to indexer, require fix someday for MS and Unix builds. --- .../main/groovy/org/jetbrains/kotlin/NativeInteropPlugin.groovy | 1 + 1 file changed, 1 insertion(+) 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')