aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2017-09-15 20:08:07 -0400
committerSteven Fackler <[email protected]>2017-09-15 20:08:07 -0400
commitbfce446ae80e38499827792d368d2e8196395829 (patch)
tree5f9772b34b90eaae58b4a885710ca8e7b80c11e0
parentMerge pull request #692 from jessicah/haiku-support (diff)
downloadrust-openssl-bfce446ae80e38499827792d368d2e8196395829.tar.xz
rust-openssl-bfce446ae80e38499827792d368d2e8196395829.zip
Mention target specific env vars
-rw-r--r--README.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/README.md b/README.md
index c71f0ba1..c505efd3 100644
--- a/README.md
+++ b/README.md
@@ -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