From 6d4f8294b4495b7564905be1881f17ab95fa6e02 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 12 Dec 2024 19:50:39 +0100 Subject: ndisc: Remove buildpaths from binaries configure emits its arguments into binaries via PACKAGE_CONFIGURE_INVOCATION therefore edit the paths from this in generated config.h before it gets into binaries. Signed-off-by: Khem Raj Signed-off-by: Peter Marko Signed-off-by: Armin Kuster --- meta-networking/recipes-support/ndisc6/ndisc6_1.0.8.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-networking/recipes-support/ndisc6/ndisc6_1.0.8.bb b/meta-networking/recipes-support/ndisc6/ndisc6_1.0.8.bb index a827e7f42a..fb00b83516 100644 --- a/meta-networking/recipes-support/ndisc6/ndisc6_1.0.8.bb +++ b/meta-networking/recipes-support/ndisc6/ndisc6_1.0.8.bb @@ -27,6 +27,10 @@ do_configure:prepend() { ${S}/autogen.sh } +do_configure:append() { + sed -i -e 's|${WORKDIR}||g' ${B}/config.h +} + do_install:append () { rm -rf ${D}${localstatedir} # Enable SUID bit for applications that need it -- cgit v1.2.3-54-g00ecf