mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Squashed 'Sources/OpenVPN3/' content from commit 0a6e0b6e54
git-subtree-dir: Sources/OpenVPN3 git-subtree-split: 0a6e0b6e542c2d19de1f416c4caccd899d72831a
This commit is contained in:
Executable
+37
@@ -0,0 +1,37 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
export DEP_DIR=${DEP_DIR:-$HOME/src/mac}
|
||||
if [ -z "$O3" ]; then
|
||||
echo O3 var must point to ovpn3 tree ; exit 1
|
||||
fi
|
||||
cd $DEP_DIR
|
||||
rm -rf asio* boost* lz4* lzo* minicrypto openssl* polarssl* mbedtls* snappy*
|
||||
|
||||
echo "******* ASIO"
|
||||
$O3/core/deps/asio/build-asio
|
||||
if [ $MTLS = 0 ] ; then
|
||||
echo "******* MBEDTLS (skipped)"
|
||||
else
|
||||
echo "******* MBEDTLS"
|
||||
|
||||
# consider OSX_SERVER=0
|
||||
$O3/core/scripts/mac/build-mbedtls
|
||||
fi
|
||||
#
|
||||
|
||||
$O3/core/deps/asio/build-asio
|
||||
if [ $OSSL = 1 ] ; then
|
||||
echo "******* OPENSSL"
|
||||
$O3/core/scripts/mac/build-openssl
|
||||
else
|
||||
echo "******* OPENSSL (skipped)"
|
||||
fi
|
||||
|
||||
|
||||
echo "******* LZ4"
|
||||
$O3/core/scripts/mac/build-lz4
|
||||
|
||||
#echo "******* MINICRYPTO"
|
||||
#$O3/core/scripts/mac/build-minicrypto
|
||||
#echo "******* SNAPPY"
|
||||
#$O3/core/scripts/mac/build-snappy
|
||||
Reference in New Issue
Block a user