mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
08ff683e00
Fixes:
Fix potential core dumped for strrchr, see https://github.com/DaveGamble/cJSON/pull/546
Fix null pointer crash in cJSON_CreateXxArray, see https://github.com/DaveGamble/cJSON/pull/538
Fix several null pointer problems on allocation failure, see https://github.com/DaveGamble/cJSON/pull/526
Fix a possible dereference of null pointer, see https://github.com/DaveGamble/cJSON/pull/519
Fix windows build failure about defining nan, see https://github.com/DaveGamble/cJSON/pull/518
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit fa00ac02df)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
22 lines
553 B
BlitzBasic
22 lines
553 B
BlitzBasic
DESCRIPTION = "Ultralightweight JSON parser in ANSI C"
|
|
AUTHOR = "Dave Gamble"
|
|
HOMEPAGE = "https://github.com/DaveGamble/cJSON"
|
|
SECTION = "libs"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=218947f77e8cb8e2fa02918dc41c50d0"
|
|
|
|
SRC_URI = "git://github.com/DaveGamble/cJSON.git"
|
|
SRCREV = "d348621ca93571343a56862df7de4ff3bc9b5667"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake pkgconfig
|
|
|
|
EXTRA_OECMAKE += "\
|
|
-DENABLE_CJSON_UTILS=On \
|
|
-DENABLE_CUSTOM_COMPILER_FLAGS=OFF \
|
|
-DBUILD_SHARED_AND_STATIC_LIBS=On \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|