[gtk+/treeview-refactor] introspection: Explicitly include libgdk-x11.la when scanning gtk



commit 2facb830fa1cad1f5a028925b6101d8fdec9d980
Author: Colin Walters <walters verbum org>
Date:   Thu Oct 28 16:45:08 2010 -0400

    introspection: Explicitly include libgdk-x11.la when scanning gtk
    
    Debian changed the behavior of libtool to not follow dependencies
    from .la files.  Fortunately, the scanner explicitly looks at the
    .la files to see if they're really shared; if not it doesn't add
    them to the .gir, so there's no cost.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=633405

 gtk/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index ab7f6f9..23389fb 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -923,6 +923,9 @@ Gtk_3_0_gir_CFLAGS = \
 		-UGTK_DISABLE_DEPRECATED \
 		-DGTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
 Gtk_3_0_gir_LIBS = $(gtktargetlib)
+if USE_X11
+Gtk_3_0_gir_LIBS += $(top_builddir)/gdk/x11/libgdk-x11.la
+endif
 Gtk_3_0_gir_FILES = $(introspection_files)
 INTROSPECTION_GIRS += Gtk-3.0.gir
 



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