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
@ -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'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user