diff options
| author | Steven Fackler <[email protected]> | 2017-09-15 20:08:07 -0400 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2017-09-15 20:08:07 -0400 |
| commit | bfce446ae80e38499827792d368d2e8196395829 (patch) | |
| tree | 5f9772b34b90eaae58b4a885710ca8e7b80c11e0 | |
| parent | Merge pull request #692 from jessicah/haiku-support (diff) | |
| download | rust-openssl-bfce446ae80e38499827792d368d2e8196395829.tar.xz rust-openssl-bfce446ae80e38499827792d368d2e8196395829.zip | |
Mention target specific env vars
| -rw-r--r-- | README.md | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -157,8 +157,13 @@ The build script can be configured via environment variables: * `OPENSSL_LIBS` - If specified, the names of the OpenSSL libraries that will be linked, e.g. `ssl:crypto`. -If `OPENSSL_DIR` is specified, then the build script will skip the pkg-config -step. +If `OPENSSL_DIR` or `OPENSSL_LIB_DIR` and `OPENSSL_INCLUDE_DIR` is specified, +then the build script will skip the pkg-config step. + +For target-specific configuration, each of these environment variables can be +prefixed by an upper-cased target, for example, +`X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR`. This can be useful in cross compilation +contexts. ### Contribution |