Files
meta-openembedded/meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb
Ming Liu ffc78c155c json-spirit: link to libatomic
In commit ac2a6d2b5d:
[ json-spirit: Add -latomic to LDFLAGS ]

I added '-latomic' to LDFLAGS, which worked for clang 3.9 but it does
not work for clang 5.0, seems the linking order matters for clang 5.0,
it should be after -ljson_spirit.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:59:20 +02:00

26 lines
834 B
BlitzBasic

SUMMARY = "A C++ JSON Parser/Generator Implemented with Boost Spirit."
DESCRIPTION = "JSON Spirit, a C++ library that reads and writes JSON files or streams. \
It is written using the Boost Spirit parser generator. If you are \
already using Boost, you can use JSON Spirit without any additional \
dependencies."
HOMEPAGE = "https://www.codeproject.com/kb/recipes/json_spirit.aspx"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=278ef6183dec4aae1524fccc4b0113c9"
SRC_URI = "file://json_spirit_v${PV}.zip \
file://0001-Adjust-the-cmake-files.patch \
file://0001-Link-to-libatomic.patch \
"
S = "${WORKDIR}/json_spirit_v${PV}"
DEPENDS = "boost"
inherit cmake
FILES_${PN}-dev += "${datadir}/cmake/Modules/FindLibJsonSpirit.cmake"
BBCLASSEXTEND = "nativesdk"