jansson: use cmake instead of autotools

This fixes build with clang and lld linker

| x86_64-poky-linux-ld.lld: error: unknown argument '--default-symver'
| clang-15: error: linker command failed with exit code 1 (use -v to see invocation)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk
2022-09-28 06:45:15 +02:00
committed by Khem Raj
parent 2050c0cd03
commit 0782ea454a
@@ -10,6 +10,6 @@ SRC_URI[sha256sum] = "fba956f27c6ae56ce6dfd52fbf9d20254aad42821f74fa52f839576252
UPSTREAM_CHECK_URI = "https://github.com/akheron/${BPN}/releases"
UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)\.tar"
inherit autotools pkgconfig
inherit cmake pkgconfig
BBCLASSEXTEND = "native"