summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Slater <joe.slater@windriver.com>2018-07-27 12:45:39 -0700
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-08-02 22:57:14 -0400
commit02d2c7daeb5b3edd83b850eb5397d0b297a11c8a (patch)
treec8cc67c378d74fb5cf871e1867cead7d9b6ecf4d
parent67c011572a6b700ea8eeee14ef37fe9c894f06e3 (diff)
downloadmeta-virtualization-02d2c7daeb5b3edd83b850eb5397d0b297a11c8a.tar.gz
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 <joe.slater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--recipes-extended/libvirt/libvirt_4.3.0.bb6
1 files changed, 6 insertions, 0 deletions
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
42 42
43inherit autotools gettext update-rc.d pkgconfig ptest systemd 43inherit autotools gettext update-rc.d pkgconfig ptest systemd
44 44
45# Override the default set in autotools.bbclass so that we will use relative pathnames
46# to our local m4 files. This prevents an "Argument list too long" error during configuration
47# if our project is in a directory with an absolute pathname of more than about 125 characters.
48#
49acpaths = "-I ./m4"
50
45CACHED_CONFIGUREVARS += "\ 51CACHED_CONFIGUREVARS += "\
46ac_cv_path_XMLCATLOG=/usr/bin/xmlcatalog \ 52ac_cv_path_XMLCATLOG=/usr/bin/xmlcatalog \
47ac_cv_path_AUGPARSE=/usr/bin/augparse \ 53ac_cv_path_AUGPARSE=/usr/bin/augparse \