Add jna lib to jvm jar resources
This commit is contained in:
parent
2b40718875
commit
3a5d4816ac
4
build.sh
4
build.sh
@ -10,8 +10,8 @@ export LD_LIBRARY_PATH=`pwd`/target/debug
|
||||
cc cc/bdk_ffi_test.c -o cc/bdk_ffi_test -L target/debug -l bdk_ffi -l pthread -l dl -l m
|
||||
|
||||
# bdk-kotlin jar
|
||||
mkdir -p bdk-kotlin/jvm/libs/x86_64_linux
|
||||
cp target/debug/libbdk_ffi.so bdk-kotlin/jvm/libs/x86_64_linux
|
||||
mkdir -p bdk-kotlin/jvm/src/main/resources/jnaLibs/x86_64_linux
|
||||
cp target/debug/libbdk_ffi.so bdk-kotlin/jvm/src/main/resources/jnaLibs/x86_64_linux
|
||||
|
||||
(cd bdk-kotlin && gradle :jvm:build)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user