diff options
| author | Emīls <emils@mullvad.net> | 2018-07-04 16:32:20 +0100 |
|---|---|---|
| committer | Emīls Piņķis <emils@mullvad.net> | 2018-07-05 16:05:05 +0100 |
| commit | 1126df75b5bff83a0066e281bcdd4eec958f1e1f (patch) | |
| tree | edc2bb2fc3abee5e71822790426790237694f9ef | |
| parent | fc728995e1494310830333c8da3324f71da36605 (diff) | |
| download | mullvadvpn-1126df75b5bff83a0066e281bcdd4eec958f1e1f.tar.xz mullvadvpn-1126df75b5bff83a0066e281bcdd4eec958f1e1f.zip | |
Updated README.md to instruct how to build things with OpenSSL on Windows
| -rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -47,7 +47,18 @@ The host has to have the following installed: - `bash` installed as well as a few base unix utilities, including `sed` and `tail`. The environment coming with [Git for Windows] works fine. +To build certain parts of the app which require OpenSSL, one has to set some +[environment variables], as instructed by the `openssl-sys` crate. By default, +one should use statically compiled OpenSSL libraries that should be checked out +in the `dist-assets\binaries` submodule: +```powershell +$env::OPENSSL_STATIC=1 +$env:OPENSSL_LIB_DIR=$pwd.Path+".\dist-assets\binaries\windows\" +$env:OPENSSL_INCLUDE_DIR=$pwd.Path+".\dist-assets\binaries\windows\include\" +``` + [Git for Windows]: https://git-scm.com/download/win +[environment variables]: https://github.com/sfackler/rust-openssl/#manual-configuration ### Linux |
