Speed up building bundled OpenSSL (#3124)

* Skip building bundled OpneSSL unnecessary parts
* Remove bundled OpneSSL build hack: no longer needed
This commit is contained in:
native-api 2024-12-07 13:54:33 +03:00 committed by GitHub
parent ee84e89ef1
commit 4c90a3147f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1594,11 +1594,7 @@ build_package_mac_openssl() {
[[ "$1" != openssl-1.0.* ]] || nokerberos=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}
# Default MAKE_OPTS are -j 2 which can confuse the build. Thankfully, make
# gives precedence to the last -j option, so we can override that.
package_option openssl make -j 1
package_option openssl configure --openssldir="$OPENSSLDIR" zlib-dynamic no-ssl3 shared ${nokerberos:+no-ssl2 no-krb5} no-docs no-apps no-tests
build_package_standard "$@"