From b964b8186bfb4f2e903981fb1f4be8e015bef53e Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Fri, 22 Feb 2019 08:52:58 +0100 Subject: host-autotools-autoconf: fix m4 path 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 Tested-by: Jon Ringle --- 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 9f9c4de94..ab2bb2895 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) -- cgit v1.2.3