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>
This commit is contained in:
Khem Raj 2024-08-15 20:43:55 -07:00
parent 6bff9188c7
commit 7091189c6f
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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