mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 19:10:43 -05:00
Generate marshallers without including the generated header
GLib now generates the prototypes for the generated marshallers, so it's not necessary to include the header any more. This fixes a build failure in GNOME Continuous with GLib master, caused by -Werror=redundant-decls.
This commit is contained in:
parent
8ed0dda40d
commit
9131f26cae
@ -43,10 +43,9 @@ $(marshal_h): stamp-marshal
|
||||
@true
|
||||
|
||||
$(marshal_c): $(marshal_h)
|
||||
$(AM_V_GEN)(echo "#include \"$(marshal_h)\"" ; \
|
||||
$(GLIB_GENMARSHAL) \
|
||||
$(AM_V_GEN)$(GLIB_GENMARSHAL)
|
||||
--prefix=$(glib_marshal_prefix) \
|
||||
--body \
|
||||
$(marshal_list)) > xgen-mc \
|
||||
&& cp xgen-mc $(marshal_c) \
|
||||
$(marshal_list) > xgen-mc \
|
||||
&& (cmp -s xgen-mc $(marshal_c) || cp -f xgen-mc $(marshal_c)) \
|
||||
&& rm -f xgen-mc
|
||||
|
Loading…
Reference in New Issue
Block a user