Files
buildroot/package/json-c/json-c.mk
Bernd Kuhls d5230e88a1 package/json-c: fix build with CMake 4
The build of host-json-c currently fails due to the move to CMake
4. However, we don't need to patch the problem, as we can instead
disable building the json-c applications (-DBUILD_APPS=OFF) for the
host variant like we already do for the target variant.

Fixes:

  https://autobuild.buildroot.net/results/dcf72922750a830901279e8eb8fc2def95d35e01/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-18 08:39:31 +01:00

18 lines
554 B
Makefile

################################################################################
#
# json-c
#
################################################################################
JSON_C_VERSION = 0.18
JSON_C_SITE = https://s3.amazonaws.com/json-c_releases/releases
JSON_C_INSTALL_STAGING = YES
JSON_C_LICENSE = MIT
JSON_C_LICENSE_FILES = COPYING
JSON_C_CPE_ID_VENDOR = json-c
JSON_C_CONF_OPTS = -DBUILD_APPS=OFF -DDISABLE_EXTRA_LIBS=ON
HOST_JSON_C_CONF_OPTS = -DBUILD_APPS=OFF -DDISABLE_EXTRA_LIBS=ON
$(eval $(cmake-package))
$(eval $(host-cmake-package))