jsoncpp: only build static library

Version 1.9.4 changed default build options so that the
shared library is built by default which breaks addons linking
against it.

Explicitly set the build options so that only the static library
is built, as before the bump.

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2021-02-06 11:53:01 +01:00
parent dc904cde28
commit 702f740038

View File

@ -13,4 +13,8 @@ PKG_LONGDESC="A C++ library for interacting with JSON."
PKG_TOOLCHAIN="cmake"
PKG_BUILD_FLAGS="+pic"
PKG_CMAKE_OPTS_TARGET="-DJSONCPP_WITH_TESTS=OFF -DJSONCPP_WITH_EXAMPLE=OFF"
PKG_CMAKE_OPTS_TARGET="-DJSONCPP_WITH_TESTS=OFF \
-DJSONCPP_WITH_EXAMPLE=OFF \
-DBUILD_SHARED_LIBS=OFF \
-DBUILD_STATIC_LIBS=ON \
-DBUILD_OBJECT_LIBS=OFF"