tests: dist-check: added support for OPENSSL_PREFIX for using a different openssl installation.

pull/361/head
Yichun Zhang (agentzh) 7 years ago
parent 5d0235ea71
commit 4e202252f4

@ -45,6 +45,13 @@ if ($^O eq 'darwin') {
. "-I/usr/local/opt/pcre/include/'"
. " --with-ld-opt='-L/usr/local/opt/openssl/lib/ "
. "-L/usr/local/opt/pcre/lib/'";
} else {
my $ssl_prefix = $ENV{OPENSSL_PREFIX};
if (defined $ssl_prefix) {
$cfg_opts .= " --with-cc-opt='-I$ssl_prefix/include/' "
. " --with-ld-opt='-L$ssl_prefix/lib/' ";
}
}
my $prefix;

Loading…
Cancel
Save