From ce0b93fc1235f53fbe528e5f6835f8d1b1803331 Mon Sep 17 00:00:00 2001 From: Alex Kiernan Date: Mon, 3 Oct 2022 18:06:23 +0100 Subject: [PATCH] jansson: Default to shared builds The change to cmake changed the default to static builds (there doesn't appear to be a way to ask for both). Signed-off-by: Alex Kiernan Signed-off-by: Khem Raj --- meta-oe/recipes-extended/jansson/jansson_2.14.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-extended/jansson/jansson_2.14.bb b/meta-oe/recipes-extended/jansson/jansson_2.14.bb index 39663d1218..833060686a 100644 --- a/meta-oe/recipes-extended/jansson/jansson_2.14.bb +++ b/meta-oe/recipes-extended/jansson/jansson_2.14.bb @@ -15,4 +15,6 @@ UPSTREAM_CHECK_REGEX = "${BPN}-(?P\d+(\.\d+)+)\.tar" inherit cmake pkgconfig +EXTRA_OECMAKE = "-DJANSSON_BUILD_SHARED_LIBS=${@ 'OFF' if d.getVar('DISABLE_STATIC') == '' else 'ON' }" + BBCLASSEXTEND = "native"