mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +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:
@@ -40,8 +40,8 @@ stamp-testmarshal.h: @REBUILD@ testmarshal.list $(glib_genmarshal)
|
||||
&& (cmp -s xgen-gmh testmarshal.h 2>/dev/null || cp xgen-gmh testmarshal.h) \
|
||||
&& rm -f xgen-gmh xgen-gmh~ \
|
||||
&& echo timestamp > $@
|
||||
testmarshal.c: @REBUILD@ testmarshal.list $(glib_genmarshal)
|
||||
$(AM_V_GEN) $(glib_genmarshal) --prefix=test_marshal $(srcdir)/testmarshal.list --body >> xgen-gmc \
|
||||
testmarshal.c: @REBUILD@ testmarshal.h testmarshal.list $(glib_genmarshal)
|
||||
$(AM_V_GEN) (echo "#include \"testmarshal.h\""; $(glib_genmarshal) --prefix=test_marshal $(srcdir)/testmarshal.list --body) >> xgen-gmc \
|
||||
&& cp xgen-gmc testmarshal.c \
|
||||
&& rm -f xgen-gmc xgen-gmc~
|
||||
|
||||
|
Reference in New Issue
Block a user