mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
a50ecfe46c
commit
2169c8807b
1 changed files with 4 additions and 0 deletions
|
@ -294,6 +294,10 @@ else
|
||||||
cdata.set_quoted('DEFAULT_VIDEOSRC', 'videotestsrc')
|
cdata.set_quoted('DEFAULT_VIDEOSRC', 'videotestsrc')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if host_system == 'darwin'
|
||||||
|
cdata.set_quoted('GST_EXTRA_MODULE_SUFFIX', '.dylib')
|
||||||
|
endif
|
||||||
|
|
||||||
# Mandatory GST deps
|
# Mandatory GST deps
|
||||||
gst_dep = dependency('gstreamer-1.0', version : gst_req,
|
gst_dep = dependency('gstreamer-1.0', version : gst_req,
|
||||||
fallback : ['gstreamer', 'gst_dep'])
|
fallback : ['gstreamer', 'gst_dep'])
|
||||||
|
|
Loading…
Reference in a new issue