Files
OpenVPNAdapter/Sources/OpenVPN3/scripts/build-extras/jsoncpp.sh

10 lines
289 B
Bash
Raw Normal View History

2024-10-21 20:42:30 +07:00
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