g-i: fix init section to avoid compiler warnings

This commit is contained in:
Thibault Saunier 2016-01-19 11:15:58 +01:00
parent a526e5634e
commit 106d4e98f5

View file

@ -206,8 +206,8 @@ GES-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libges-@GST_API_VERSION@.la
--pkg gstreamer-controller-@GST_API_VERSION@ \
--pkg gio-2.0 \
--pkg-export ges-@GST_API_VERSION@ \
--add-init-section="gst_init(NULL, NULL);" \
--add-init-section="ges_init(NULL, NULL);" \
--add-init-section="$(INTROSPECTION_INIT)" \
--add-init-section="extern gboolean ges_init(void); ges_init();" \
--output $@ \
$(gir_headers) \
$(gir_sources)