Files
openvpn3/scripts/linux/build-all
Arne Schwabe 664b3d6651 Remove several no longer used or supported build scripts
- 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>
2022-08-24 17:09:13 +02:00

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