alexcrichton / openssl-src-rs

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

Can I export variable using Build (or cc in general) `wasm32-wasi` #89

Closed FrankC01 closed 3 years ago

FrankC01 commented 3 years ago

For building wasm32-wasi we need to set system environment vars:

export C_INCLUDE_PATH=/usr/include/wasm32-wasi:/usr/include/:/usr/include/x86_64-linux-gnu

Is there a way to do this specifically within openssl-src-rs only when building for the noted target?

A bit new to rust can all the tooling...