civetweb: remove buildpaths from civetweb-targets.cmake
PATCH 1/1 civetweb: remove buildpaths from civetweb-targets.cmake
Fixes:
WARNING: civetweb-1.16-r0 do_package_qa: QA Issue: File /usr/lib/cmake/civetweb/civetweb-targets.cmake in package civetweb-dev contains reference to TMPDIR [buildpaths]
Siuned-off-by Yi Zhao <[email protected]>
--- .../recipes-connectivity/civetweb/civetweb_1.16.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-networking/recipes-connectivity/civetweb/civetweb_1.16.bb +5 -0
@@ -40,4 +40,9 @@ PACKAGECONFIG[server] = "-DCIVETWEB_ENABLE_SERVER_EXECUTABLE=ON -DCIVETWEB_INSTA PACKAGECONFIG[ssl] = "-DCIVETWEB_ENABLE_SSL=ON -DCIVETWEB_SSL_OPENSSL_API_1_1=OFF -DCIVETWEB_ENABLE_SSL_DYNAMIC_LOADING=OFF,-DCIVETWEB_ENABLE_SSL=OFF,openssl (=1.0.2%)," PACKAGECONFIG[websockets] = "-DCIVETWEB_ENABLE_WEBSOCKETS=ON,-DCIVETWEB_ENABLE_WEBSOCKETS=OFF," +do_install:append() { + sed -i -e 's|${RECIPE_SYSROOT_NATIVE}||g' \ + -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/cmake/civetweb/civetweb-targets.cmake +} + BBCLASSEXTEND = "native"
Signature · 1 line
2.25.1