mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
Ensure that the marshaller code #includes glib-object.h, and hence the neccessary definitions to enable it to compile.
Original commit message from CVS: Ensure that the marshaller code #includes glib-object.h, and hence the neccessary definitions to enable it to compile. I don't pretend to understand how the marshalling stuff works - I just know that it clearly needs this #include, or something similar. If there's a more correct fix, someone else can do it. Possibly this is a glib-genmarshal bug, but I've not got the time to go into that.
This commit is contained in:
parent
5ffe5a0901
commit
b3e700e0f8
1 changed files with 4 additions and 2 deletions
|
@ -130,11 +130,13 @@ cothreads.o: $(srcdir)/cothreads.c $(srcdir)/cothreads.h $(srcdir)/gst_private.h
|
|||
# Generate both marshal files together. Makes dependency work easier.
|
||||
gstmarshal.h: gstmarshal.list
|
||||
glib-genmarshal --header --prefix=gst gstmarshal.list > gstmarshal.h
|
||||
glib-genmarshal --body --prefix=gst gstmarshal.list > gstmarshal.c
|
||||
echo "#include \"glib-object.h\"" >gstmarshal.c
|
||||
glib-genmarshal --body --prefix=gst gstmarshal.list >> gstmarshal.c
|
||||
|
||||
gstmarshal.c: gstmarshal.list
|
||||
glib-genmarshal --header --prefix=gst gstmarshal.list > gstmarshal.h
|
||||
glib-genmarshal --body --prefix=gst gstmarshal.list > gstmarshal.c
|
||||
echo "#include \"glib-object.h\"" >gstmarshal.c
|
||||
glib-genmarshal --body --prefix=gst gstmarshal.list >> gstmarshal.c
|
||||
|
||||
##### end built sources #####
|
||||
|
||||
|
|
Loading…
Reference in a new issue