mirror of
https://github.com/pyenv/pyenv.git
synced 2026-01-11 15:47:13 +09:00
python-build: Use no-tests only for OpenSSL 1.1.1+
Introduced in 1.1.1-pre1
This commit is contained in:
parent
8ef33165b8
commit
56bc05d5d6
@ -1769,12 +1769,16 @@ build_package_mac_openssl() {
|
||||
local nokerberos
|
||||
[[ "$1" != openssl-1.0.* ]] || nokerberos=1
|
||||
|
||||
# switches introduced in OpenSSL 1.1.1
|
||||
local notests
|
||||
[[ $(openssl_version $1) -ge 10101 ]] && notests=1
|
||||
|
||||
# switches introduced in OpenSSL 3.2
|
||||
local extra_no_features
|
||||
[[ $(openssl_version $1) -ge 30200 ]] && extra_no_features=1
|
||||
|
||||
# Compile a shared lib with zlib dynamically linked.
|
||||
package_option openssl configure --openssldir="$OPENSSLDIR" zlib-dynamic no-ssl3 shared ${nokerberos:+no-ssl2 no-krb5} ${extra_no_features:+no-docs no-apps} no-tests
|
||||
package_option openssl configure --openssldir="$OPENSSLDIR" zlib-dynamic no-ssl3 shared ${nokerberos:+no-ssl2 no-krb5} ${extra_no_features:+no-docs no-apps} ${notests:+no-tests}
|
||||
|
||||
build_package_standard "$@"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user