summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-03-10 22:12:32 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2015-03-10 22:15:56 +0000
commita52ff2f66e670874978762197b2984fa8bdf3bfd (patch)
tree92153d18c3012549a38e24e80a9b0b6041ad6e5c
parent073a9c9cd543f5739d72beb4bc9eb4c79c175a99 (diff)
downloadgtk+-a52ff2f66e670874978762197b2984fa8bdf3bfd.tar.gz
build: Fix generating introspection on MacOS
We need to filter out platform-specific sources from the files that we use with the introspection scanner. In this specific case I could have moved the gtkclipboard-quartz.c and the gtkdnd-quartz.c files out of the $(gtk_base_c_sources) variable, but doing a filter-out on the variable itself is more resilient in case we eventually add files and we forget about the result.
-rw-r--r--gtk/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 9a8285941e..83dfe31588 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1330,7 +1330,7 @@ distclean-local:
if HAVE_INTROSPECTION
introspection_files = \
$(filter-out %private.h gtktextdisplay.h gtktextlayout.h gtkx.h, $(gtkinclude_HEADERS) $(a11yinclude_HEADERS) $(deprecatedinclude_HEADERS)) \
- $(gtk_base_c_sources) \
+ $(filter-out %win32.c %quartz.c, $(gtk_base_c_sources)) \
gtkprintoperation-unix.c \
gtktypebuiltins.h \
gtktypebuiltins.c