blob: 7efe0d461df03e180b99af064dd66c3403ef1715 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh -ex
# Looks like libressl needs networking to autogen
rc-service networking start
mv openbsd portable
cd portable
./autogen.sh
CC=gcc ./configure --host=x86_64-w64-mingw32
make
tar -caf include.tar.gz include/tls.h include/openssl/*
cp tls/.libs/libtls.a /root
cp ssl/.libs/libbs.a /root
cp ssl/.libs/libssl.a /root
cp crypto/.libs/libcompat.a /root
cp crypto/.libs/libcompatnoopt.a /root
cp crypto/.libs/libcrypto.a /root
cp apps/openssl/openssl.exe /root
cp include.tar.gz /root
|