@@ -268,12 +268,12 @@ RDEPENDS:${PN}-server-snmpd += "net-snmp-mibs"
RDEPENDS:${PN}-server-snmptrapd += "net-snmp-server-snmpd ${PN}-lib-trapd"
RDEPENDS:${PN}-server += "net-snmp-server-snmpd net-snmp-server-snmptrapd"
RDEPENDS:${PN}-client += "net-snmp-mibs net-snmp-libs"
-RDEPENDS:${PN}-libs += "libpci \
- ${PN}-lib-netsnmp \
+RDEPENDS:${PN}-libs += "${PN}-lib-netsnmp \
${PN}-lib-agent \
${PN}-lib-helpers \
${PN}-lib-mibs \
"
+RDEPENDS:append:${PN}-libs:class-target = " libpci"
RDEPENDS:${PN}-ptest += "perl \
perl-module-test \
perl-module-file-basename \
Building of net-snmp-native aborted due to missing dependency with libpci-native. Fixed by keeping the dependency on for target recipe and removing it for native CC: Yoann Congal <yoann.congal@smile.fr> CC: Randy MacLeod <randy.macleod@windriver.com> Signed-off-by: Christos Gavros <gavrosc@yahoo.com> --- v1->v2 * shortlog changed * description changed * remove libpci from RDEPENDS:${PN}-libs * add libpci to new RDEPENDS only for target --- meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)