summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-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'])