backend/tests/build: fix compiler native library path
This commit is contained in:
committed by
SvyatoslavScherbina
parent
e7558f9ddc
commit
58e8ed1850
@@ -40,7 +40,9 @@ abstract class KonanTest extends DefaultTask {
|
||||
"-headers", project.project(':runtime').file('src/main/kotlin'),
|
||||
"${sourceKt.absolutePath}"
|
||||
|
||||
jvmArgs "-Djava.library.path=${backendNative.buildDir.canonicalPath}/nativelibs"
|
||||
String libraryPath = "${project.llvmDir}/lib:${backendNative.buildDir.canonicalPath}/nativelibs"
|
||||
environment 'LD_LIBRARY_PATH' : libraryPath
|
||||
environment 'DYLD_LIBRARY_PATH' : libraryPath
|
||||
}
|
||||
return sourceBc
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user