diff --git a/gst/Makefile.am b/gst/Makefile.am index b9b7f7558d..f881cafd30 100644 --- a/gst/Makefile.am +++ b/gst/Makefile.am @@ -134,7 +134,11 @@ cothreads.o: $(srcdir)/cothreads.c $(srcdir)/cothreads.h $(srcdir)/gst_private.h ##### Other built sources ##### +if USE_GLIB2 BUILT_SOURCES = gstmarshal.h gstmarshal.c +else +BUILT_SOURCES = +endif # Generate both marshal files together. Makes dependency work easier. gstmarshal.h: gstmarshal.list