diff options
author | Justin Kim <justin.kim@collabora.com> | 2018-02-19 15:45:36 +0900 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-02-21 15:05:42 +0000 |
commit | 2169c8807b6f1707bba25b7f751b48adf1a896f7 (patch) | |
tree | 3c2905b6d4d24787ae098323b40877c07e6c0735 /meson.build | |
parent | a50ecfe46cbb947a1f917de2776d36c31d28cfc7 (diff) | |
download | gstreamer-plugins-bad-2169c8807b6f1707bba25b7f751b48adf1a896f7.tar.gz |
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
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 21502ad5c..1d355c050 100644 --- a/meson.build +++ b/meson.build @@ -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']) |