]> Pileus Git - ~andy/gtk/commitdiff
Fix fail to build when building with introspection:
authorDidier Roche <didrocks@ubuntu.com>
Thu, 20 May 2010 23:00:55 +0000 (09:00 +1000)
committerRobert Ancell <robert.ancell@gmail.com>
Thu, 20 May 2010 23:00:55 +0000 (09:00 +1000)
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

index c0bfea01c4491a773a99d65f47805a14c2abfe72..c9dcf23fc30910742025c8bffda8a95519973b96 100644 (file)
@@ -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