Skip to content

Commit

Permalink
more explicit debugging
Browse files Browse the repository at this point in the history
Signed-off-by: garyschulte <garyschulte@gmail.com>
  • Loading branch information
garyschulte committed Sep 17, 2024
1 parent 5b875fa commit 80bae4a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions constantine/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ task printClasspath {
}
}
test {
environment 'LD_LIBRARY_PATH', "${System.env.LD_LIBRARY_PATH}:build/resources/main/linux-gnu-x86_64"
systemProperty 'jna.library.path', file('build/resources/main/linux-gnu-x86_64').absolutePath
dependsOn printClasspath, macArmLibCopy, macLibCopy, linuxLibCopy, linuxArm64LibCopy
environment 'LD_LIBRARY_PATH', "${System.env.LD_LIBRARY_PATH}:./build/resources/main/linux-gnu-x86_64"
var x86LibLocation = file('./build/resources/main/linux-gnu-x86_64').absolutePath
print("x86 jna absolute path: " + x86LibLocation)
systemProperty 'jna.library.path', x86LibLocation
}

jar {
Expand Down

0 comments on commit 80bae4a

Please sign in to comment.