diff options
author | Jaeyoon Jung <jaeyoon.jung@lge.com> | 2025-01-16 20:57:55 +0900 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-16 14:56:27 -0800 |
commit | a519f89ea7624d5051f2257cf0f5f33aee14ede1 (patch) | |
tree | 39ffdd11a51e51c4c44711424cbffb2791eb803a /meta-oe/recipes-extended/jansson/jansson_2.14.bb | |
parent | 402e49afd19da6dcb947af075d7ad45797f5bcb2 (diff) | |
download | meta-openembedded-a519f89ea7624d5051f2257cf0f5f33aee14ede1.tar.gz |
jansson: fix a symbol clash when building with cmake
It exports all symbols globally which results in a symbol clash, for
example "hashtable_del" of ulogd2. It has been revealed because the
recipe inherits cmake over autotools since Langdale.
This fixes it by specifying visibility scope of symbols in its version
script which matches what is given with the libtool flag
'-export-symbols-regex' in Makefile.am.
Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/jansson/jansson_2.14.bb')
-rw-r--r-- | meta-oe/recipes-extended/jansson/jansson_2.14.bb | 1 |
1 files changed, 1 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 9f5cdcf4c0..4ac30c4dba 100644 --- a/meta-oe/recipes-extended/jansson/jansson_2.14.bb +++ b/meta-oe/recipes-extended/jansson/jansson_2.14.bb | |||
@@ -8,6 +8,7 @@ SRC_URI = "https://github.com/akheron/${BPN}/releases/download/v${PV}/${BP}.tar. | |||
8 | file://0001-Fix-overwriting-linker-flags.patch \ | 8 | file://0001-Fix-overwriting-linker-flags.patch \ |
9 | file://0001-Honour-multilib-paths.patch \ | 9 | file://0001-Honour-multilib-paths.patch \ |
10 | file://0001-add-back-JSON_INTEGER_IS_LONG_LONG-for-cmake.patch \ | 10 | file://0001-add-back-JSON_INTEGER_IS_LONG_LONG-for-cmake.patch \ |
11 | file://0001-Only-export-symbols-starting-with-json_-and-jansson_.patch \ | ||
11 | " | 12 | " |
12 | SRC_URI[sha256sum] = "fba956f27c6ae56ce6dfd52fbf9d20254aad42821f74fa52f83957625294afb9" | 13 | SRC_URI[sha256sum] = "fba956f27c6ae56ce6dfd52fbf9d20254aad42821f74fa52f83957625294afb9" |
13 | 14 | ||