From 2169c8807b6f1707bba25b7f751b48adf1a896f7 Mon Sep 17 00:00:00 2001 From: Justin Kim Date: Mon, 19 Feb 2018 15:45:36 +0900 Subject: [PATCH] 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 --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 21502ad5cc..1d355c0501 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'])