mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 03:50:44 -09:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
2d69dfb41e
commit
d5230e88a1
@@ -11,6 +11,7 @@ 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))
|
||||
|
||||
Reference in New Issue
Block a user