From 622ae34e61ca5192a71afdbdd4666e44c81fde32 Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Wed, 26 Oct 2016 13:33:28 +0300 Subject: [PATCH] attempt to fix linux build (:backend.native:run) --- backend.native/build.gradle | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend.native/build.gradle b/backend.native/build.gradle index 780c943510a..2a03ef8f04a 100644 --- a/backend.native/build.gradle +++ b/backend.native/build.gradle @@ -85,15 +85,13 @@ task run(type: JavaExec) { args '-output', "$buildDir/out.bc" - jvmArgs '-ea' + jvmArgs '-ea', "-Djava.library.path=${llvmDir}/lib:${project.buildDir}/nativelibs" dependsOn ':runtime:build' doFirst { args '-runtime', project(':runtime').build.outputs.files.singleFile } - - environment 'LD_LIBRARY_PATH' : "$llvmDir/lib" }