From 1316aee069399a4a0e80ed6a43bac8169e295237 Mon Sep 17 00:00:00 2001 From: Svyatoslav Scherbina Date: Wed, 12 Oct 2016 18:08:38 +0300 Subject: [PATCH] Interop: add LD_LIBRARY_PATH to stub generation task --- .../main/groovy/org/jetbrains/kotlin/NativeInteropPlugin.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/buildSrc/src/main/groovy/org/jetbrains/kotlin/NativeInteropPlugin.groovy b/buildSrc/src/main/groovy/org/jetbrains/kotlin/NativeInteropPlugin.groovy index ab398129a7f..759d82ccab8 100644 --- a/buildSrc/src/main/groovy/org/jetbrains/kotlin/NativeInteropPlugin.groovy +++ b/buildSrc/src/main/groovy/org/jetbrains/kotlin/NativeInteropPlugin.groovy @@ -81,6 +81,7 @@ class NamedNativeInteropConfig extends AbstractFileCollection implements Named { systemProperties "llvmInstallPath" : project.llvmInstallPath environment "LIBCLANG_DISABLE_CRASH_RECOVERY": "1" environment "DYLD_LIBRARY_PATH": "${project.llvmInstallPath}/lib" + environment "LD_LIBRARY_PATH": "${project.llvmInstallPath}/lib" outputs.dir generatedSrcDir outputs.dir nativeLibsDir