From bfce446ae80e38499827792d368d2e8196395829 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Fri, 15 Sep 2017 20:08:07 -0400 Subject: [PATCH] Mention target specific env vars --- README.md | 9 +++++++-- 1 file 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