[gtk+] build: Fix generating introspection on MacOS
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] build: Fix generating introspection on MacOS
- Date: Tue, 10 Mar 2015 22:16:10 +0000 (UTC)
commit a52ff2f66e670874978762197b2984fa8bdf3bfd
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Mar 10 22:12:32 2015 +0000
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.
gtk/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 9a82859..83dfe31 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]