mirror of
https://github.com/amnezia-vpn/openvpn3.git
synced 2026-05-17 08:26:28 +03:00
Remove the vars-osx64 and vars-iossim files which are no longer used. The IOS simulator does not support the VPN API and builds for the IOS simulator have not been done in a very long time nor are they particular useful. Also switch to pkg-config for jsoncpp by default. Signed-off-by: Arne Schwabe <arne@openvpn.net>
29 lines
562 B
Bash
Executable File
29 lines
562 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
[ "$DEP_DIR" ] && cd $DEP_DIR
|
|
if [ -z "$O3" ]; then
|
|
echo O3 var must point to ovpn3 tree ; exit 1
|
|
fi
|
|
if [ -z "$DEP_DIR" ]; then
|
|
echo DEP_DIR var must point to ovpn3 dependency tree
|
|
exit 1
|
|
fi
|
|
cd $DEP_DIR
|
|
|
|
rm -rf lzo
|
|
mkdir lzo
|
|
|
|
if [ "$OSX_ONLY" != "1" ]; then
|
|
for target in ios ios-dbg ; do
|
|
echo '***************' TARGET $target
|
|
TARGET=$target $O3/core/deps/lzo/build-lzo
|
|
done
|
|
fi
|
|
|
|
for target in osx osx-dbg ; do
|
|
echo '***************' TARGET $target
|
|
TARGET=$target $O3/core/deps/lzo/build-lzo
|
|
done
|
|
exit 0
|