mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 17:08:53 +02:00
build: Ensure we #include header files for glib-genmarshal code
Otherwise we fail with -Werror=missing-prototypes. https://bugzilla.gnome.org/show_bug.cgi?id=687385
This commit is contained in:
@@ -34,7 +34,7 @@ marshalers.h: Makefile.am marshalers.list
|
||||
$(AM_V_GEN) $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --header --valist-marshallers > marshalers.h
|
||||
|
||||
marshalers.c: Makefile.am marshalers.list
|
||||
$(AM_V_GEN) $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --body --valist-marshallers > marshalers.c
|
||||
$(AM_V_GEN) (echo "#include \"marshalers.h\""; $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --body --valist-marshallers) > $@.tmp && mv $@.tmp $@
|
||||
|
||||
BUILT_SOURCES = marshalers.h marshalers.c
|
||||
CLEANFILES = marshalers.h marshalers.c
|
||||
|
Reference in New Issue
Block a user