diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2022-10-03 18:06:23 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-10-03 10:26:21 -0700 |
commit | ce0b93fc1235f53fbe528e5f6835f8d1b1803331 (patch) | |
tree | bb48fdabe7bdfcf302ae70837124fa6bc159ec53 /meta-oe/recipes-extended/jansson | |
parent | 7361f9f75f85ba84ea074cb3b4f9d0c9afea0af3 (diff) | |
download | meta-openembedded-ce0b93fc1235f53fbe528e5f6835f8d1b1803331.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-extended/jansson')
-rw-r--r-- | meta-oe/recipes-extended/jansson/jansson_2.14.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/jansson/jansson_2.14.bb b/meta-oe/recipes-extended/jansson/jansson_2.14.bb index 39663d121..833060686 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" | |||
15 | 15 | ||
16 | inherit cmake pkgconfig | 16 | inherit cmake pkgconfig |
17 | 17 | ||
18 | EXTRA_OECMAKE = "-DJANSSON_BUILD_SHARED_LIBS=${@ 'OFF' if d.getVar('DISABLE_STATIC') == '' else 'ON' }" | ||
19 | |||
18 | BBCLASSEXTEND = "native" | 20 | BBCLASSEXTEND = "native" |