From 7091189c6f825f3ffa80b4e8126a1bf12f883f52 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 15 Aug 2024 20:43:55 -0700 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 --- 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 a827e7f42..fb00b8351 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