diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2018-09-04 00:06:31 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-09-23 23:48:15 +0100 |
commit | cd1dee06bf07f094677d0cf3eea4a2e8c2636b24 (patch) | |
tree | a7214fc46c83fef65b3249b60ef68fdc01c89ee4 | |
parent | 46d420818ed8172022caf4503894076b18b1e153 (diff) | |
download | gstreamer-common-cd1dee06bf07f094677d0cf3eea4a2e8c2636b24.tar.gz |
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
-rw-r--r-- | gst-glib-gen.mak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-glib-gen.mak b/gst-glib-gen.mak index 206a3b6..76b2233 100644 --- a/gst-glib-gen.mak +++ b/gst-glib-gen.mak @@ -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 |