mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
rapidjson: override hard-coded lib install dir
The default value for LIB_INSTALL_DIR is set to ${prefix}/lib in
CMakeLists.txt. However, in multilib builds, the package split picks up
the files from ${prefix}/lib64 or ${prefix}/lib32, which leads to QA
issues in do_package about left-over files in /usr/lib/pkgconfig and
/usr/lib/cmake.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
6696d7ef59
commit
8e6e4e594d
|
|
@ -15,6 +15,9 @@ S = "${WORKDIR}/git"
|
|||
inherit cmake
|
||||
|
||||
EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF"
|
||||
# the install path for cmake modules etc. is hardcoded as ${prefix}/lib in
|
||||
# CMakeLists.txt, which breaks the package split with multilib
|
||||
EXTRA_OECMAKE += "-DLIB_INSTALL_DIR=${libdir}"
|
||||
|
||||
# RapidJSON is a header-only C++ library, so the main package will be empty.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user