mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
tomlplusplus: Fix test failures with clang/libcxx
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 63584aeba9)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
@@ -18,6 +18,10 @@ inherit meson ptest pkgconfig
|
||||
EXTRA_OEMESON += "-Dbuild_tests=${@bb.utils.contains("DISTRO_FEATURES", "ptest", "true", "false", d)} \
|
||||
"
|
||||
|
||||
# See - https://github.com/marzer/tomlplusplus/issues/279
|
||||
CXXFLAGS:append:toolchain-clang = " -stdlib=libstdc++"
|
||||
LDFLAGS:append:toolchain-clang = " -stdlib=libstdc++"
|
||||
|
||||
do_install_ptest () {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp ${B}/tests/tomlplusplus_odr_test ${D}${PTEST_PATH}/tests
|
||||
|
||||
Reference in New Issue
Block a user