[meta-virtualization] [PATCH] libvirt: add missing inherit

Mark Asselstine mark.asselstine at windriver.com
Wed Dec 18 12:42:02 PST 2013


libvirt's configure script makes use of pkg-config so we need to inherit
pkgconfig or else we may see an error like

./configure: line 55867: syntax error near unexpected token `AVAHI,'
./configure: line 55867: `    PKG_CHECK_MODULES(AVAHI, avahi-client >= 0.6.0,'

during configure.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 recipes-extended/libvirt/libvirt_1.2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/libvirt/libvirt_1.2.0.bb b/recipes-extended/libvirt/libvirt_1.2.0.bb
index 80f06a2..f574ec5 100644
--- a/recipes-extended/libvirt/libvirt_1.2.0.bb
+++ b/recipes-extended/libvirt/libvirt_1.2.0.bb
@@ -27,7 +27,7 @@ SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.gz \
 SRC_URI[md5sum] = "f74f78059def4e68d69b975ad6e6c3e2"
 SRC_URI[sha256sum] = "a8e578ae7861db2ac5f454073293d2ef3229fd3f6c4f9029101763244db22ddd"
 
-inherit autotools gettext update-rc.d
+inherit autotools gettext update-rc.d pkgconfig
 
 CACHED_CONFIGUREVARS += "\
 ac_cv_path_XMLLINT=/usr/bin/xmllint \
-- 
1.8.3.2



More information about the meta-virtualization mailing list