meson: Use .dylib suffix if darwin

For Mac OS, GST_EXTRA_MODULE_SUFFIX should be set as '.dylib'.

https://bugzilla.gnome.org/show_bug.cgi?id=793585
This commit is contained in:
Justin Kim 2018-02-19 15:45:36 +09:00 committed by Tim-Philipp Müller
parent a50ecfe46c
commit 2169c8807b

View file

@ -294,6 +294,10 @@ else
cdata.set_quoted('DEFAULT_VIDEOSRC', 'videotestsrc')
endif
if host_system == 'darwin'
cdata.set_quoted('GST_EXTRA_MODULE_SUFFIX', '.dylib')
endif
# Mandatory GST deps
gst_dep = dependency('gstreamer-1.0', version : gst_req,
fallback : ['gstreamer', 'gst_dep'])