The path for m4 already is the full path in sysroot-host. Replace it with the current sysroot-host in case we just extracted a dev package.
Signed-off-by: Michael Olbrich <[email protected]> --- Next try, please test this. Michael rules/host-autotools-autoconf.make | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules/host-autotools-autoconf.make b/rules/host-autotools-autoconf.make index 9f9c4de94c4e..ab2bb28958e8 100644 --- a/rules/host-autotools-autoconf.make +++ b/rules/host-autotools-autoconf.make @@ -48,7 +48,8 @@ $(STATEDIR)/host-autotools-autoconf.install.post: @$(call targetinfo) @sed -i \ -e "s;'\(/share/autoconf\)';'$(PTXDIST_SYSROOT_HOST)\1';g" \ - -e "s;'\(/bin/\(m4\)\?\(auto[^']*\)\)';'$(PTXDIST_SYSROOT_HOST)\1';g" \ + -e "s;'\(/bin/auto[^']*\)';'$(PTXDIST_SYSROOT_HOST)\1';g" \ + -e "s;'/[^']*/sysroot-host\(/bin/m4\)';'$(PTXDIST_SYSROOT_HOST)\1';g" \ $(HOST_AUTOTOOLS_AUTOCONF_PKGDIR)/bin/* \ $(HOST_AUTOTOOLS_AUTOCONF_PKGDIR)/share/autoconf/autom4te.cfg @$(call world/install.post, HOST_AUTOTOOLS_AUTOCONF) -- 2.20.1 _______________________________________________ ptxdist mailing list [email protected]
