mirror of
https://github.com/amnezia-vpn/openvpn3.git
synced 2026-05-17 08:26:28 +03:00
- the OpenSSL build script for all platform, was only used on macOS and better alternatives like homebrew exit there - mac build scripts in general, cmake/homebrew is a better alternative - vars for Android, Android uses CMake based build, see ics-openvpn for an example - lzo build scripts. Core can do lzo decompress witout it and if used, system lzo can be used Signed-off-by: Arne Schwabe <arne@openvpn.net>
24 lines
580 B
Bash
Executable File
24 lines
580 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
set -u
|
|
if [ -z "${O3:-}" ]; then
|
|
echo O3 var must point to ovpn3 tree ; exit 1
|
|
fi
|
|
export DEP_DIR="${DEP_DIR:-$HOME/linux}"
|
|
export TARGET="${TARGET:-linux}"
|
|
cd "$DEP_DIR"
|
|
rm -rf asio* boost* lz4* lzo* minicrypto openssl* polarssl* snappy*
|
|
echo "******* ASIO"
|
|
"$O3"/core/deps/asio/build-asio
|
|
echo "******* xxHash"
|
|
"$O3"/core/deps/xxHash/build-xxHash
|
|
if [ "${MTLS:-1}" = 0 ] ; then
|
|
echo "******* MBEDTLS (skipped)"
|
|
else
|
|
echo "******* MBEDTLS"
|
|
"$O3"/core/scripts/linux/build-mbedtls
|
|
fi
|
|
echo "******* LZ4"
|
|
"$O3"/core/scripts/linux/build-lz4
|
|
|