build: add "LD_LIBRARY_PATH=llvmDir/lib" for Linux

This commit is contained in:
Svyatoslav Scherbina
2016-10-17 18:25:31 +03:00
parent b0998fe56e
commit 2835ddb7f2
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -31,3 +31,7 @@ dependencies {
}
mainClassName = 'MainKt'
run {
environment 'LD_LIBRARY_PATH' : "$llvmDir/lib"
}
+2
View File
@@ -86,6 +86,8 @@ task run(type: JavaExec) {
doFirst {
args '-runtime', project(':runtime').build.outputs.files.singleFile
}
environment 'LD_LIBRARY_PATH' : "$llvmDir/lib"
}