summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2015-06-16 18:08:24 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2015-06-16 18:08:24 -0400
commit632431aecbbc75c91526db26d312e3cbfab015d4 (patch)
tree38e95b143ff07007f75734034f2391b939063459 /gst
parent24e34f82fc036bc84bd8568b365cc048c1e17b08 (diff)
gi: Use INTROSPECTION_INIT for --add-init-section
This new define was added to common. The new init section fixed compilation warning found in the init line that was spread across all files.
Diffstat (limited to 'gst')
-rw-r--r--gst/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/Makefile.am b/gst/Makefile.am
index b0fe9ccf0..a117d9771 100644
--- a/gst/Makefile.am
+++ b/gst/Makefile.am
@@ -295,7 +295,7 @@ Gst-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstreamer-@GST_API_VERSIO
--pkg gobject-2.0 \
--pkg gmodule-no-export-2.0 \
--pkg-export gstreamer-@GST_API_VERSION@ \
- --add-init-section="gst_init(NULL, NULL);" \
+ --add-init-section="$(INTROSPECTION_INIT)" \
--output $@ \
$(gir_headers) \
$(gir_sources)