Message ID | 20250927063216.1865627-21-ankur.tyagi85@gmail.com |
---|---|
State | New |
Headers | show |
Series | Trying to keep recipes in the walnascar branch updated with useful fixes from the master branch. | expand |
diff --git a/meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb b/meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb index a6ec89a2ff..abe7ed84e2 100644 --- a/meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb +++ b/meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb @@ -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