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 <raj.khem@gmail.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Khem Raj
2024-12-12 19:50:39 +01:00
committed by Armin Kuster
parent 0b7dcae08f
commit 6d4f8294b4
@@ -27,6 +27,10 @@ do_configure:prepend() {
${S}/autogen.sh
}
do_configure:append() {
sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${B}/config.h
}
do_install:append () {
rm -rf ${D}${localstatedir}
# Enable SUID bit for applications that need it