]> git.lizzy.rs Git - rust.git/blob - src/ci/docker/host-x86_64/dist-x86_64-linux/build-openssl.sh
Rollup merge of #90480 - r00ster91:remove, r=kennytm
[rust.git] / src / ci / docker / host-x86_64 / dist-x86_64-linux / build-openssl.sh
1 #!/usr/bin/env bash
2
3 set -ex
4 source shared.sh
5
6 tar xzf openssl.tar.gz
7
8 cd openssl-*
9 hide_output ./config --prefix=/rustroot shared -fPIC
10 hide_output make -j$(nproc)
11 hide_output make install
12 cd ..
13 rm -rf openssl-*
14
15 # Make the system cert collection available to the new install.
16 ln -nsf /etc/pki/tls/cert.pem /rustroot/ssl/