mirror of
https://github.com/amnezia-vpn/openvpn3.git
synced 2026-05-17 08:26:28 +03:00
Add support building deps with clang/libc++
Signed-off-by: Arne Schwabe <arne@openvpn.net>
This commit is contained in:
@@ -4,6 +4,7 @@ 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"
|
||||
|
||||
@@ -10,5 +10,5 @@ fi
|
||||
cd $DEP_DIR
|
||||
rm -rf cityhash
|
||||
mkdir cityhash
|
||||
TARGET=linux $O3/core/deps/cityhash/build-cityhash
|
||||
TARGET=${TARGET:-linux} $O3/core/deps/cityhash/build-cityhash
|
||||
exit 0
|
||||
|
||||
@@ -10,5 +10,5 @@ fi
|
||||
cd $DEP_DIR
|
||||
rm -rf lz4
|
||||
mkdir lz4
|
||||
TARGET=linux $O3/core/deps/lz4/build-lz4
|
||||
TARGET=${TARGET:-linux} $O3/core/deps/lz4/build-lz4
|
||||
exit 0
|
||||
|
||||
@@ -15,5 +15,5 @@ if [ "$LINK_MODE" = "shared" ]; then
|
||||
else
|
||||
SHARED=0
|
||||
fi
|
||||
VERBOSE=1 TARGET=linux ENABLE_SERVER=1 SHARED=$SHARED $O3/core/deps/mbedtls/build-mbedtls
|
||||
VERBOSE=1 TARGET=${TARGET:-linux} ENABLE_SERVER=1 SHARED=$SHARED $O3/core/deps/mbedtls/build-mbedtls
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user