Date
1 - 1 of 1
[meta-oe][PATCH] jansson: use cmake instead of autotools
Markus Volk
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@...>
---
meta-oe/recipes-extended/jansson/jansson_2.14.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/recipes-extended/jansson/jansson_2.14.bb b/meta-oe/r=
ecipes-extended/jansson/jansson_2.14.bb
index 945b31f58..94bb99ab7 100644
--- a/meta-oe/recipes-extended/jansson/jansson_2.14.bb
+++ b/meta-oe/recipes-extended/jansson/jansson_2.14.bb
@@ -10,6 +10,6 @@ SRC_URI[sha256sum] =3D "fba956f27c6ae56ce6dfd52fbf9d202=
54aad42821f74fa52f839576252
UPSTREAM_CHECK_URI =3D "https://github.com/akheron/${BPN}/releases"
UPSTREAM_CHECK_REGEX =3D "${BPN}-(?P<pver>\d+(\.\d+)+)\.tar"
=20
-inherit autotools pkgconfig
+inherit cmake pkgconfig
=20
BBCLASSEXTEND =3D "native"
--=20
2.34.1
| 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@...>
---
meta-oe/recipes-extended/jansson/jansson_2.14.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/recipes-extended/jansson/jansson_2.14.bb b/meta-oe/r=
ecipes-extended/jansson/jansson_2.14.bb
index 945b31f58..94bb99ab7 100644
--- a/meta-oe/recipes-extended/jansson/jansson_2.14.bb
+++ b/meta-oe/recipes-extended/jansson/jansson_2.14.bb
@@ -10,6 +10,6 @@ SRC_URI[sha256sum] =3D "fba956f27c6ae56ce6dfd52fbf9d202=
54aad42821f74fa52f839576252
UPSTREAM_CHECK_URI =3D "https://github.com/akheron/${BPN}/releases"
UPSTREAM_CHECK_REGEX =3D "${BPN}-(?P<pver>\d+(\.\d+)+)\.tar"
=20
-inherit autotools pkgconfig
+inherit cmake pkgconfig
=20
BBCLASSEXTEND =3D "native"
--=20
2.34.1