Skip to contentSkip to conversation

exiv2: Fix buildpaths warning.

PATCH New Lei Maohui 1 participant 1 message Sep 15, 2022

lore
Share & tools
lore

Lei Maohui

author
#0 lore raw

PATCH 1/1 exiv2: Fix buildpaths warning.

Remove the build path from file exiv2Config.cmake.

---
 meta-oe/recipes-support/exiv2/exiv2_0.27.3.bb | 7 +++++++
 1 file changed, 7 insertions(+)
meta-oe/recipes-support/exiv2/exiv2_0.27.3.bb +7 -0
index 31afe78e45..1380638ba7 100644
@@ -21,3 +21,10 @@ SRC_URI += "file://0001-Use-compiler-fcf-protection-only-if-compiler-arch-su.pat
 S = "${WORKDIR}/${BPN}-${PV}-Source"
 
 inherit cmake gettext
+
+do_install:append:class-target() {
+    # reproducibility: remove build host path
+    sed -i ${D}${libdir}/cmake/exiv2/exiv2Config.cmake \
+        -e 's:${STAGING_DIR_HOST}::g'
+}
+
Signature · 1 line
2.25.1