Skip to contentSkip to conversation

libgcc: Add missing dependency on libc:do_package

PATCH New Richard Purdie 1 participant 1 message Jul 23, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libgcc: Add missing dependency on libc:do_package

do_package writes out shlibs data and libgcc can depend on the values there. We therefore need to express the depdency so that sstate can account for it for example.

Without this a version change in eglibc can "psersist" in the sstate cache and corrupt builds.

---

meta/recipes-devtools/gcc/libgcc_4.7.bb +1 -0
index 55aa03c..c796253 100644
@@ -64,6 +64,7 @@ do_install () {
 	rm -rf ${D}${libdir}/${TARGET_SYS}/${BINV}/include
 }
 
+do_package[depends] += "virtual/${MLPREFIX}libc:do_package"
 do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_package"
 do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_package"
 do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_package"