[gtk-vnc] Add --pkg statements for all external libs needed in build



commit 1cf39625f8c1fb6844943136ac8195b523371a6f
Author: Daniel P. Berrange <berrange redhat com>
Date:   Thu Dec 15 09:40:39 2011 +0000

    Add --pkg statements for all external libs needed in build
    
    Ensure g-ir-scanner adds -I and -L flags for all external
    libraries required to build

 src/Makefile.am |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 5722827..df93cef 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -369,6 +369,7 @@ GVnc-1.0.gir: libgvnc-1.0.la $(G_IR_SCANNER) Makefile.am
                 -I$(top_srcdir) \
                 -I$(srcdir) \
 		--verbose \
+		--pkg=gobject-2.0 \
                 --pkg-export=gvnc-1.0 \
                 $(GVNC_INTROSPECTION_SRCS)
 
@@ -388,6 +389,8 @@ GVncPulse-1.0.gir: GVnc-1.0.gir libgvncpulse-1.0.la $(G_IR_SCANNER) Makefile.am
                 -I$(top_srcdir) \
                 -I$(srcdir) \
 		--verbose \
+		--pkg=gobject-2.0 \
+		--pkg=libpulse-simple \
                 --pkg-export=gvncpulse-1.0 \
                 $(GVNCPULSE_INTROSPECTION_SRCS)
 
@@ -408,6 +411,8 @@ GtkVnc-$(GTK_VNC_API_VERSION).gir: GVnc-1.0.gir libgtk-vnc-$(GTK_VNC_API_VERSION
                 -I$(top_srcdir) \
                 -I$(srcdir) \
 		--verbose \
+		--pkg=gobject-2.0 \
+		--pkg=gtk+-$(GTK_API_VERSION) \
                 --pkg-export=gtk-vnc-$(GTK_VNC_API_VERSION) \
                 $(GTK_VNC_INTROSPECTION_SRCS)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]