alexcrichton / openssl-src-rs

Source code and logic to build OpenSSL from source
Apache License 2.0
68 stars 113 forks source link

Add support for UWP targets #106

Closed bdbai closed 3 years ago

bdbai commented 3 years ago

Since Universal Windows Platform (UWP) App is supported in OpenSSL 3.0.0 (Build Configuration), we can make use of it by mapping UWP targets to corresponding configuration entries.

BTW, cross compilation in Windows failed because of too long paths exceeding 260 characters. Is there any workaround?

ValHeimer commented 3 years ago

BTW, cross compilation in Windows failed because of too long paths exceeding 260 characters. Is there any workaround?

Ok I'm not the only one having this error... I temporary fixed it by setting the CARGO_TARGET_DIR env var to a shorter folder than my repo's one.

CARGO_TARGET_DIR=/c/target cargo build
alexcrichton commented 3 years ago

Thanks! And yeah for the long path issue @ValHeimer's suggestion is probably the easiest to work around it.