[libvirt] [libvirt-designer] build: No need to set PKG_CONFIG_PATH for g-ir-scanner

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Sat Apr 6 00:28:04 UTC 2013


From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>

I don't see any need for this and it actually breaks the build here:

GEN      LibvirtDesigner-1.0.gir
Package libvirt-gconfig-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt-gconfig-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt-gconfig-1.0' found
In file included from <stdin>:4:0:
/extra-data/checkout/gnome/libvirt-designer/libvirt-designer/libvirt-designer.h:27:45:
fatal error: libvirt-gconfig/libvirt-gconfig.h: No such file or
directory
compilation terminated.
Error while processing the source.
make[3]: *** [LibvirtDesigner-1.0.gir] Error 1
---
 libvirt-designer/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt-designer/Makefile.am b/libvirt-designer/Makefile.am
index 8f10c41..7becfd2 100644
--- a/libvirt-designer/Makefile.am
+++ b/libvirt-designer/Makefile.am
@@ -103,7 +103,7 @@ test_designer_domain_LDFLAGS = \
 if WITH_INTROSPECTION
 
 LibvirtDesigner-1.0.gir: libvirt-designer-1.0.la $(G_IR_SCANNER) Makefile.am
-	$(AM_V_GEN)PKG_CONFIG_PATH=$(top_builddir) $(G_IR_SCANNER) \
+	$(AM_V_GEN) $(G_IR_SCANNER) \
                 --quiet \
                 --warn-all \
                 --namespace LibvirtDesigner \
-- 
1.8.1.4




More information about the libvir-list mailing list