mirror of
git://git.openembedded.org/meta-openembedded
synced 2025-12-31 13:38:06 +00:00
tomlplusplus: Fix test failures with clang/libcxx
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
eea415cfbd
commit
63584aeba9
@ -17,6 +17,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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user