Message ID | 20221003170623.26207-3-alex.kiernan@gmail.com |
---|---|
State | Under Review |
Headers | show |
Series | [meta-oe,1/3] jansson: Honour multilib paths | expand |
diff --git a/meta-oe/recipes-extended/jansson/jansson_2.14.bb b/meta-oe/recipes-extended/jansson/jansson_2.14.bb index 39663d1218da..833060686ac5 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<pver>\d+(\.\d+)+)\.tar" inherit cmake pkgconfig +EXTRA_OECMAKE = "-DJANSSON_BUILD_SHARED_LIBS=${@ 'OFF' if d.getVar('DISABLE_STATIC') == '' else 'ON' }" + BBCLASSEXTEND = "native"
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> --- meta-oe/recipes-extended/jansson/jansson_2.14.bb | 2 ++ 1 file changed, 2 insertions(+)