Commit cd1dee06 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

gst-glib-gen.mak: include config.h in generated marshal .c files as well

This is needed to get the export define the GST_*_API markers
map to when compiling gst libs.

https://bugzilla.gnome.org/show_bug.cgi?id=797185
parent 46d42081
......@@ -16,7 +16,7 @@ $(glib_gen_basename)-marshal.h: $(glib_gen_basename)-marshal.list
mv $(glib_gen_basename)-marshal.h.tmp $(glib_gen_basename)-marshal.h
$(glib_gen_basename)-marshal.c: $(glib_gen_basename)-marshal.list
$(AM_V_GEN)echo "#include \"$(glib_gen_basename)-marshal.h\"" >> $(glib_gen_basename)-marshal.c.tmp && \
$(AM_V_GEN)echo "#include \"config.h\"\n#include \"$(glib_gen_basename)-marshal.h\"" >> $(glib_gen_basename)-marshal.c.tmp && \
$(GLIB_GENMARSHAL) --body --prefix=$(glib_gen_prefix)_marshal $^ >> $(glib_gen_basename)-marshal.c.tmp && \
mv $(glib_gen_basename)-marshal.c.tmp $(glib_gen_basename)-marshal.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment