From 2114b5a9a70bb07bdb15edafa6ec9689933db871 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Wed, 6 Apr 2016 02:30:02 -0700 Subject: wget: fix build when len(TMPDIR) == 410 Fixed: aclocal: error: cannot open [snip] |: Argument list too long Set acpaths to fix the problem. Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- meta/recipes-extended/wget/wget.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc index 049b898d39..dc381a6280 100644 --- a/meta/recipes-extended/wget/wget.inc +++ b/meta/recipes-extended/wget/wget.inc @@ -22,3 +22,8 @@ BBCLASSEXTEND += "nativesdk" PACKAGECONFIG ??= "" PACKAGECONFIG[libuuid] = "--with-libuuid, --without-libuuid,util-linux" + +# Let aclocal use the relative path for the m4 file rather than +# absolute, otherwise there might be an "Argument list too long" error +# when it is built in a long/deep directory. +acpaths = "-I ./m4" -- cgit 1.2.3-korg