diff options
author | Joe Slater <joe.slater@windriver.com> | 2018-07-27 12:45:39 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-08-02 22:57:14 -0400 |
commit | 02d2c7daeb5b3edd83b850eb5397d0b297a11c8a (patch) | |
tree | c8cc67c378d74fb5cf871e1867cead7d9b6ecf4d /recipes-extended | |
parent | 67c011572a6b700ea8eeee14ef37fe9c894f06e3 (diff) | |
download | meta-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>
Diffstat (limited to 'recipes-extended')
-rw-r--r-- | recipes-extended/libvirt/libvirt_4.3.0.bb | 6 |
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 | ||
43 | inherit autotools gettext update-rc.d pkgconfig ptest systemd | 43 | inherit 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 | # | ||
49 | acpaths = "-I ./m4" | ||
50 | |||
45 | CACHED_CONFIGUREVARS += "\ | 51 | CACHED_CONFIGUREVARS += "\ |
46 | ac_cv_path_XMLCATLOG=/usr/bin/xmlcatalog \ | 52 | ac_cv_path_XMLCATLOG=/usr/bin/xmlcatalog \ |
47 | ac_cv_path_AUGPARSE=/usr/bin/augparse \ | 53 | ac_cv_path_AUGPARSE=/usr/bin/augparse \ |