aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAndrew Roetker <[email protected]>2017-03-13 15:59:01 -0600
committerAndrew Roetker <[email protected]>2017-03-13 19:18:54 -0600
commit663547a7589806675a26fbd6867838e1b4211790 (patch)
tree74b820ca63cee0e155e585ed792f9be573de837d /README.md
parentRelease v0.9.8 (diff)
downloadrust-openssl-663547a7589806675a26fbd6867838e1b4211790.tar.xz
rust-openssl-663547a7589806675a26fbd6867838e1b4211790.zip
(maint) Recreate ability to pass in OPENSSL_LIBS variable
Prior to this commit in 43c951f743e68fac5f45119eda7c994882a1d489 the ability to pass OPENSSL_LIBS was removed from the build.rs of openssl-sys. This commit adds the ability to pass custom names for the OPENSSL_LIBS back in. This is useful for when building openssl across linux and windows with the same lib names (ssl:crypto) and the default names provided by the build script are not valid.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 579a6872..365d57b1 100644
--- a/README.md
+++ b/README.md
@@ -133,6 +133,8 @@ The build script can be configured via environment variables:
(if specified).
* `OPENSSL_STATIC` - If specified, OpenSSL libraries will be statically rather
than dynamically linked.
+* `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.