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 <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Alex Kiernan
2022-10-03 18:06:23 +01:00
committed by Khem Raj
parent 7361f9f75f
commit ce0b93fc12
@@ -15,4 +15,6 @@ UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)\.tar"
inherit cmake pkgconfig
EXTRA_OECMAKE = "-DJANSSON_BUILD_SHARED_LIBS=${@ 'OFF' if d.getVar('DISABLE_STATIC') == '' else 'ON' }"
BBCLASSEXTEND = "native"