mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-19 19:52:15 +02:00
d31620d0c6
Windows agent has been moved from common to core, so for consistency move mac agent too. Since agent and agent-enabled client depend on jsoncpp, also move jsoncpp build scripts. Signed-off-by: Lev Stipakov <lev@openvpn.net>
10 lines
289 B
Bash
10 lines
289 B
Bash
if [ "$1" = "args" ]; then
|
|
echo " JSON=1 -- build with JsonCpp library"
|
|
elif [ "$1" = "deps" ]; then
|
|
# JsonCpp
|
|
if [ "$JSON" = "1" ]; then
|
|
CPPFLAGS="$CPPFLAGS $(pkg-config --cflags jsoncpp) -DHAVE_JSONCPP"
|
|
EXTRA_SRC_OBJ="$EXTRA_SRC_OBJ $(pkg-config --libs jsoncpp)"
|
|
fi
|
|
fi
|