hidekatsu-izuno / josekit-rs

JOSE (Javascript Object Signing and Encryption) library for Rust (based on OpenSSL).
Apache License 2.0
69 stars 30 forks source link

Allow to enable openssl vendored feature to cross compile #25

Closed cavivie closed 8 months ago

cavivie commented 11 months ago

I have a project that needs to be able to compile to multiple targets on the same machine, but it fails when compiling to a non-local platform target because openssl depends on the local libssl library. In order to complete the compilation to multiple targets on the same host machine for this target, we need to enable the vendored feature of openssl, so that it will compile openssl from source at the right time (openssl-src).

openssl without vendored feature

hidekatsu-izuno commented 11 months ago

More details are needed.

cavivie commented 11 months ago

@hidekatsu-izuno Sure, updated the issue details.

sathyajithps commented 10 months ago

Any updates on this ? I'm trying to cross compile josekit-rs to windows, its not working.

hidekatsu-izuno commented 8 months ago

I added a vendored feature for suppored the openssl/vendored feature on v0.8.4.

You can try --feature vendored option