]> code.ossystems Code Review - openembedded-core.git/commitdiff
wget: fix build when len(TMPDIR) == 410
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 6 Apr 2016 09:30:02 +0000 (02:30 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Apr 2016 09:32:42 +0000 (10:32 +0100)
Fixed:
aclocal: error: cannot open [snip] |: Argument list too long

Set acpaths to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/wget/wget.inc

index 049b898d39559237fd7422c4fc3a7bfa54951ae3..dc381a628004dae098ddadb4ff695c51769dc420 100644 (file)
@@ -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"