soci: fix buildpaths warning
PATCH 1/1 soci: fix buildpaths warning
From: Peter Marko <[email protected]>
WARNING: soci-4.0.3-r0 do_package_qa: QA Issue: File /usr/lib/cmake/SOCI/SOCITargets-noconfig.cmake in package soci-dev contains reference to TMPDIR [buildpaths]
This is causing build failures in components depending on soci when building with rm_work or from sstate-cache.
Signed-off-by Peter Marko <[email protected]>
--- meta-oe/recipes-dbs/soci/soci_4.0.3.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-oe/recipes-dbs/soci/soci_4.0.3.bb +4 -0
@@ -43,3 +43,7 @@ FILES:${PN}-mysql = "${libdir}/lib${BPN}_mysql.so.*" FILES:${PN}-postgresql = "${libdir}/lib${BPN}_postgresql.so.*" FILES:${PN}-odbc = "${libdir}/lib${BPN}_odbc.so.*" FILES:${PN}-oracle = "${libdir}/lib${BPN}_oracle.so.*" + +do_install:append() { + sed -i 's|${RECIPE_SYSROOT}${prefix}|${_IMPORT_PREFIX}|g' ${D}${libdir}/cmake/SOCI/SOCITargets*.cmake +}
Signature · 1 line
2.30.2