From 02d2c7daeb5b3edd83b850eb5397d0b297a11c8a Mon Sep 17 00:00:00 2001 From: Joe Slater Date: Fri, 27 Jul 2018 12:45:39 -0700 Subject: libvirt: use relative path to local .m4 files If our project is in a directory with a pathname of longer than about 125 characters, configuration will fail with an "Argument list too long" error. This patch uses the technique that was applied to the coreutils recipe. Signed-off-by: Joe Slater Signed-off-by: Bruce Ashfield --- recipes-extended/libvirt/libvirt_4.3.0.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-extended/libvirt/libvirt_4.3.0.bb b/recipes-extended/libvirt/libvirt_4.3.0.bb index e6dac5d9..194f049a 100644 --- a/recipes-extended/libvirt/libvirt_4.3.0.bb +++ b/recipes-extended/libvirt/libvirt_4.3.0.bb @@ -42,6 +42,12 @@ SRC_URI[libvirt.sha256sum] = "a531e22c8b985ecb2d1223b913fd6ec0f1800e3ebe02351924 inherit autotools gettext update-rc.d pkgconfig ptest systemd +# Override the default set in autotools.bbclass so that we will use relative pathnames +# to our local m4 files. This prevents an "Argument list too long" error during configuration +# if our project is in a directory with an absolute pathname of more than about 125 characters. +# +acpaths = "-I ./m4" + CACHED_CONFIGUREVARS += "\ ac_cv_path_XMLCATLOG=/usr/bin/xmlcatalog \ ac_cv_path_AUGPARSE=/usr/bin/augparse \ -- cgit v1.2.3-54-g00ecf