]> code.ossystems Code Review - openembedded-core.git/commitdiff
elfutils: use PRIVATE_LIBS for the ptest package
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 7 Aug 2019 10:29:35 +0000 (12:29 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Aug 2019 09:17:56 +0000 (10:17 +0100)
EXCLUDE_PACKAGES_FROM_SHLIBS is too broad: it suppresses both generation
of required and provided shlibs. We need to suppress only the provided shlibs
(to avoid clashes with the main package providing the same shlibs),
and run the required shlib dependencies generator as usual.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/elfutils/elfutils_0.176.bb

index 75acf59d26ed46be1589b8d267f63e925e9fe7b8..d98457e3f9f278cfabe2398ff61e150a93fdefbf 100644 (file)
@@ -142,4 +142,4 @@ INHIBIT_PACKAGE_STRIP_FILES = "\
     ${PKGD}${PTEST_PATH}/backends/libebl_x86_64.so \
 "
 
-EXCLUDE_PACKAGES_FROM_SHLIBS = "${PN}-ptest"
+PRIVATE_LIBS_${PN}-ptest = "libdw.so.1 libelf.so.1"