Closed morph027 closed 2 years ago
I believe you also need to set CC, CXX, and possibly CPATH when cross-compiling now, thanks to adding BoringSSL as a dependency. You can see how we do this for the aarch64-linux NPM package:
Let me know if that works for you!
Thanks for the hint, will try and report back!
Thanks, this did the trick :tada:
...
Finished release [optimized] target(s) in 0.07s
root@976d43a95272:/tmp/libsignal-client# file target/aarch64-unknown-linux-gnu/release/libsignal_jni.so
target/aarch64-unknown-linux-gnu/release/libsignal_jni.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[sha1]=7a41ad466a5cab304e0942edff97ceaf4bcc3202, stripped
fails with: