[gtk+] Fix fail to build when building with introspection: in debian/ubuntu, builddir != srcdir. This trigg



commit 6847407edaea351f6e7f4bca6933ae1c7347537a
Author: Didier Roche <didrocks ubuntu com>
Date:   Fri May 21 09:00:55 2010 +1000

    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 c0bfea0..c9dcf23 100644
--- a/gdk/Makefile.am
+++ b/gdk/Makefile.am
@@ -198,7 +198,7 @@ introspection_files = \
 		$(gdk_c_sources) \
         gdkenumtypes.c \
         gdkenumtypes.h \
-        $(srcdir)/x11/*.c
+        x11/*.c
 
 Gdk-3.0.gir: $(gdktargetlib) Makefile
 Gdk_3_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]