Browse Source

Fix openssl build for macos-universal

Signed-off-by: falkTX <falktx@falktx.com>
pull/28/head
falkTX 1 year ago
parent
commit
f6d082ee47
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      bootstrap-python.sh

+ 6
- 1
bootstrap-python.sh View File

@@ -109,8 +109,13 @@ function build_conf_openssl() {
OPENSSL_URL="https://www.openssl.org/source"
OPENSSL_VERSION="1.1.1w"

OPENSSL_EXTRAFLAGS="no-shared no-hw threads no-zlib no-capieng no-pinshared"
if [ "${MACOS_UNIVERSAL}" -eq 1 ]; then
OPENSSL_EXTRAFLAGS+=" no-asm"
fi

download openssl "${OPENSSL_VERSION}" "${OPENSSL_URL}"
build_conf_openssl openssl "${OPENSSL_VERSION}" "no-shared no-hw threads no-zlib no-capieng no-pinshared"
build_conf_openssl openssl "${OPENSSL_VERSION}" "${OPENSSL_EXTRAFLAGS}"

# ---------------------------------------------------------------------------------------------------------------------
# custom function for python


Loading…
Cancel
Save