summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-08-15 20:43:55 -0700
committerKhem Raj <raj.khem@gmail.com>2024-08-15 23:20:05 -0700
commit7091189c6f825f3ffa80b4e8126a1bf12f883f52 (patch)
tree5be2c6a6623c7fbfa3379aa1d1ef9985bf8edc8d
parent6bff9188c78e001248c92b07a7c0502501ff16d4 (diff)
downloadmeta-openembedded-7091189c6f825f3ffa80b4e8126a1bf12f883f52.tar.gz
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>
-rw-r--r--meta-networking/recipes-support/ndisc6/ndisc6_1.0.8.bb4
1 files changed, 4 insertions, 0 deletions
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() {
27 ${S}/autogen.sh 27 ${S}/autogen.sh
28} 28}
29 29
30do_configure:append() {
31 sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${B}/config.h
32}
33
30do_install:append () { 34do_install:append () {
31 rm -rf ${D}${localstatedir} 35 rm -rf ${D}${localstatedir}
32 # Enable SUID bit for applications that need it 36 # Enable SUID bit for applications that need it