buildSrc: added DYLD_LIBRARY_PATH to pass it to indexer, require fix someday for MS and Unix builds.

This commit is contained in:
Vasily Levchenko
2016-09-22 17:24:34 +03:00
parent b3f554efc2
commit 6f0cfb989a
@@ -28,6 +28,7 @@ class NativeInteropPlugin implements Plugin<Project> {
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')