[gtk+/gtk-2-22] Fix fail to build when building with introspection



commit 8a6f6b54217fa2a6e23b495a6732cf6396076b8f
Author: Didier Roche <didrocks ubuntu com>
Date:   Wed Mar 24 12:15:49 2010 +0100

    Fix fail to build when building with introspection
    
    In debian/ubuntu, builddir != srcdir. This trigger an error on
    introspection_files where srcdir is added to x11/*.c. Indeed,
    srcdir is added again later: $(addprefix $(srcdir)/,$(introspection_files))
    making $(srcdir)/$(srcdir)/x11/*.c (not an issue on jhbuild as srcdir = .)

 gdk/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/Makefile.am b/gdk/Makefile.am
index 1a783c3..3147040 100644
--- a/gdk/Makefile.am
+++ b/gdk/Makefile.am
@@ -199,7 +199,7 @@ introspection_files = \
 		$(gdk_c_sources) \
         gdkenumtypes.c \
         gdkenumtypes.h \
-        $(srcdir)/x11/*.c
+        x11/*.c
 
 Gdk-2.0.gir: $(gdktargetlib) Makefile
 Gdk_2_0_gir_SCANNERFLAGS = --strip-prefix=Gdk --add-include-path=../gdk-pixbuf



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