forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
073a9c9cd5
commit
a52ff2f66e
@ -1330,7 +1330,7 @@ distclean-local:
|
|||||||
if HAVE_INTROSPECTION
|
if HAVE_INTROSPECTION
|
||||||
introspection_files = \
|
introspection_files = \
|
||||||
$(filter-out %private.h gtktextdisplay.h gtktextlayout.h gtkx.h, $(gtkinclude_HEADERS) $(a11yinclude_HEADERS) $(deprecatedinclude_HEADERS)) \
|
$(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 \
|
gtkprintoperation-unix.c \
|
||||||
gtktypebuiltins.h \
|
gtktypebuiltins.h \
|
||||||
gtktypebuiltins.c
|
gtktypebuiltins.c
|
||||||
|
Loading…
Reference in New Issue
Block a user