build: static link openssl

This commit is contained in:
Ivan Dyachkov 2022-09-06 17:46:15 +02:00
parent 63b21c1188
commit f5690919fb
2 changed files with 2 additions and 6 deletions

View File

@ -157,6 +157,7 @@ jobs:
env: env:
KERL_BUILD_BACKEND: git KERL_BUILD_BACKEND: git
OTP_GITHUB_URL: https://github.com/emqx/otp OTP_GITHUB_URL: https://github.com/emqx/otp
KERL_CONFIGURE_OPTIONS: --disable-dynamic-ssl-lib
run: | run: |
kerl update releases kerl update releases
kerl build ${{ matrix.otp }} kerl build ${{ matrix.otp }}

View File

@ -39,9 +39,4 @@ security -v list-keychains -s "${keychain_names[@]}" "${KEYCHAIN}"
set -x set -x
REL_DIR="${1}" REL_DIR="${1}"
codesign -s "${APPLE_DEVELOPER_IDENTITY}" -f --verbose=4 --options runtime --timestamp=none "${REL_DIR}"/erts-*/bin/{erlexec,beam.smp} codesign -s "${APPLE_DEVELOPER_IDENTITY}" -f --verbose=4 --options runtime --timestamp=none "${REL_DIR}"/erts-*/bin/erlexec
codesign -s "${APPLE_DEVELOPER_IDENTITY}" -f --verbose=4 --timestamp=none "${REL_DIR}"/erts-*/bin/{erl_child_setup,inet_gethost,heart,dyn_erl,erl_call,to_erl,epmd,erl,run_erl,escript}
codesign -s "${APPLE_DEVELOPER_IDENTITY}" -f --verbose=4 --timestamp=none "${REL_DIR}"/lib/os_mon-*/priv/bin/{cpu_sup,memsup}
codesign -s "${APPLE_DEVELOPER_IDENTITY}" -f --verbose=4 --timestamp=none "${REL_DIR}"/lib/observer-*/priv/bin/{cdv,etop}
codesign -s "${APPLE_DEVELOPER_IDENTITY}" -f --verbose=4 --timestamp=none "${REL_DIR}"/lib/jq-*/priv/erlang_jq_port
find "${REL_DIR}" -name '*.so' -exec codesign -s "${APPLE_DEVELOPER_IDENTITY}" -f --verbose=4 --timestamp=none {} \;