From 4c90a3147fa382235caaa8beb7c3da0f6d231a39 Mon Sep 17 00:00:00 2001 From: native-api Date: Sat, 7 Dec 2024 13:54:33 +0300 Subject: [PATCH] Speed up building bundled OpenSSL (#3124) * Skip building bundled OpneSSL unnecessary parts * Remove bundled OpneSSL build hack: no longer needed --- plugins/python-build/bin/python-build | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index b7a0698e73..09878df158 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -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 "$@"