summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Kim <justin.kim@collabora.com>2018-02-19 15:45:36 +0900
committerTim-Philipp Müller <tim@centricular.com>2018-02-21 15:05:42 +0000
commit2169c8807b6f1707bba25b7f751b48adf1a896f7 (patch)
tree3c2905b6d4d24787ae098323b40877c07e6c0735
parenta50ecfe46cbb947a1f917de2776d36c31d28cfc7 (diff)
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
-rw-r--r--meson.build4
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'])