Skip to contentSkip to conversation

fltk: 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 fltk: Fix buildpaths warning.

Remove the build path from files.

---
 meta-oe/recipes-support/fltk/fltk.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-support/fltk/fltk.bb +3 -1
index 3c9ee5ee3f..82007c4cf4 100644
@@ -25,7 +25,9 @@ PACKAGECONFIG[xfixes] = "-DOPTION_USE_XFIXES=ON,-DOPTION_USE_XFIXES=OFF,libxfixe
 PACKAGECONFIG[xcursor] = "-DOPTION_USE_XCURSOR=ON,-DOPTION_USE_XCURSOR=OFF,libxcursor"
 
 do_install:append() {
-    sed -i -e 's,${STAGING_DIR_HOST},,g' ${D}${bindir}/fltk-config
+    sed -i -e 's,${TMPDIR},,g' ${D}${bindir}/fltk-config
+    sed -i -e 's,${TMPDIR},,g' ${D}${datadir}/fltk/UseFLTK.cmake
+    sed -i -e 's,${TMPDIR},,g' ${D}${datadir}/fltk/FLTK-Targets.cmake
 }
 
 python populate_packages:prepend () {
Signature · 1 line
2.25.1