From: Ross Burton <[email protected]> Nettle is primarily a library that ships some tools, so inherit the lib_package class to package the tools in nettle-bin, and add a dependency on it to nettle-ptest.
Signed-off-by: Ross Burton <[email protected]> --- meta/recipes-support/nettle/nettle_3.8.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-support/nettle/nettle_3.8.1.bb b/meta/recipes-support/nettle/nettle_3.8.1.bb index 184023e4031..92cc966dbba 100644 --- a/meta/recipes-support/nettle/nettle_3.8.1.bb +++ b/meta/recipes-support/nettle/nettle_3.8.1.bb @@ -24,7 +24,7 @@ SRC_URI[sha256sum] = "364f3e2b77cd7dcde83fd7c45219c834e54b0c75e428b6f894a23d12dd UPSTREAM_CHECK_REGEX = "nettle-(?P<pver>\d+(\.\d+)+)\.tar" -inherit autotools ptest multilib_header +inherit autotools ptest multilib_header lib_package EXTRA_AUTORECONF += "--exclude=aclocal" @@ -53,4 +53,6 @@ do_install_ptest() { sed -i -e 's|../examples/|./|g' ${D}${PTEST_PATH}/testsuite/*-test } +RDEPENDS:${PN}-ptest += "${PN}-bin" + BBCLASSEXTEND = "native nativesdk" -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#182507): https://lists.openembedded.org/g/openembedded-core/message/182507 Mute This Topic: https://lists.openembedded.org/mt/99404945/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
