summaryrefslogtreecommitdiffstats
path: root/ci/build_openssl1_cross.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/build_openssl1_cross.sh')
-rwxr-xr-xci/build_openssl1_cross.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/ci/build_openssl1_cross.sh b/ci/build_openssl1_cross.sh
new file mode 100755
index 0000000..d11e365
--- /dev/null
+++ b/ci/build_openssl1_cross.sh
@@ -0,0 +1,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