From 1b08af3ea7653140ceed0bfc2206a9dce846b52f Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sat, 12 May 2018 17:12:21 +0000 Subject: [PATCH] yaml-cpp: add PN-gtest package * fixes: -dev package contains non-symlink .so: yaml-cpp-dev path '/work/core2-64-oe-linux/yaml-cpp/0.6.2+gitAUTOINC+ab5f9259a4-r0/packages-split/yaml-cpp-dev/usr/lib/libgmock_main.so' -dev package contains non-symlink .so: yaml-cpp-dev path '/work/aarch64-oe-linux/yaml-cpp/0.6.2+gitAUTOINC+ab5f9259a4-r0/packages-split/yaml-cpp-dev/usr/lib/libgmock.so' [dev-elf] -dev package contains non-symlink .so: yaml-cpp-dev path '/work/core2-64-oe-linux/yaml-cpp/0.6.2+gitAUTOINC+ab5f9259a4-r0/packages-split/yaml-cpp-dev/usr/lib/libgtest_main.so' -dev package contains non-symlink .so: yaml-cpp-dev path '/work/core2-64-oe-linux/yaml-cpp/0.6.2+gitAUTOINC+ab5f9259a4-r0/packages-split/yaml-cpp-dev/usr/lib/libgtest.so' [dev-elf] Signed-off-by: Martin Jansa --- recipes-devtools/yaml-cpp/yaml-cpp_0.6.2.bb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/recipes-devtools/yaml-cpp/yaml-cpp_0.6.2.bb b/recipes-devtools/yaml-cpp/yaml-cpp_0.6.2.bb index 8d71b7e..f8e6609 100644 --- a/recipes-devtools/yaml-cpp/yaml-cpp_0.6.2.bb +++ b/recipes-devtools/yaml-cpp/yaml-cpp_0.6.2.bb @@ -15,3 +15,11 @@ SRCREV = "562aefc114938e388457e6a531ed7b54d9dc1b62" EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DYAML_CPP_BUILD_TESTS=OFF" inherit cmake + +PACKAGES =+ "${PN}-gtest" +FILES_${PN}-gtest += " \ + ${libdir}/libgmock_main.so \ + ${libdir}/libgtest_main.so \ + ${libdir}/libgtest.so \ + ${libdir}/libgmock.so \ +"