summaryrefslogtreecommitdiffstats
path: root/ci/build_openssl1_cross.sh
blob: d11e365c1071de4150612044511ed43bba131265 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh -e
# build patched openssl (for GitHub workflow) for $HOST and $OSCC
# (os/compiler).

git clone --depth 1 -b OpenSSL_1_1_1s+quic https://github.com/quictls/openssl
cd openssl
./Configure --cross-compile-prefix="$HOST"- --prefix=$PWD/build "$OSCC"
make -j$(nproc)
make install_sw