diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-09-04 08:57:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-09-04 08:57:43 +0000 |
commit | 42ad44d1fea072d23f2e0067bca4ba6bc0b2a523 (patch) | |
tree | b1c1459c6914f1d4c5b123b601b9dbecb049360c /packaging/makeself/jobs/20-openssl.install.sh | |
parent | Adding upstream version 1.42.1. (diff) | |
download | netdata-42ad44d1fea072d23f2e0067bca4ba6bc0b2a523.tar.xz netdata-42ad44d1fea072d23f2e0067bca4ba6bc0b2a523.zip |
Adding upstream version 1.42.2.upstream/1.42.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging/makeself/jobs/20-openssl.install.sh')
-rwxr-xr-x | packaging/makeself/jobs/20-openssl.install.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/packaging/makeself/jobs/20-openssl.install.sh b/packaging/makeself/jobs/20-openssl.install.sh index 35667a51f..04ec2626f 100755 --- a/packaging/makeself/jobs/20-openssl.install.sh +++ b/packaging/makeself/jobs/20-openssl.install.sh @@ -36,13 +36,22 @@ fi cd "${NETDATA_MAKESELF_PATH}/tmp/openssl" || exit 1 if [ "${CACHE_HIT:-0}" -eq 0 ]; then - run ./config -static no-tests --prefix=/openssl-static --openssldir=/opt/netdata/etc/ssl + sed -i "s/disable('static', 'pic', 'threads');/disable('static', 'pic');/" Configure + run ./config -static threads no-tests --prefix=/openssl-static --openssldir=/opt/netdata/etc/ssl run make -j "$(nproc)" fi run make -j "$(nproc)" install_sw +if [ -d "/openssl-static/lib" ]; then + cd "/openssl-static" || exit 1 + ln -s "lib" "lib64" || true + cd - || exit 1 +fi + store_cache openssl "${NETDATA_MAKESELF_PATH}/tmp/openssl" +perl configdata.pm --dump + # shellcheck disable=SC2015 [ "${GITHUB_ACTIONS}" = "true" ] && echo "::endgroup::" || true |