Do not move libclang out from the clang distribution

Also load libclang using the absolute path to simplify cinterop
This commit is contained in:
Svyatoslav Scherbina
2017-04-25 15:38:13 +03:00
committed by SvyatoslavScherbina
parent ab392bf9ed
commit 8ebc0bd1ea
4 changed files with 3 additions and 25 deletions
@@ -190,8 +190,6 @@ class NamedNativeInteropConfig implements Named {
).asPath
systemProperties "konan.home": project.rootProject.file("dist")
environment "LIBCLANG_DISABLE_CRASH_RECOVERY": "1"
environment "DYLD_LIBRARY_PATH": "${project.llvmDir}/lib"
environment "LD_LIBRARY_PATH": "${project.llvmDir}/lib"
outputs.dir generatedSrcDir
outputs.dir nativeLibsDir