mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +00:00
meson: Use .dylib suffix if darwin
For Mac OS, GST_EXTRA_MODULE_SUFFIX should be set as '.dylib'. Otherwise, GStreamer fails to load its plugins. https://bugzilla.gnome.org/show_bug.cgi?id=793584
This commit is contained in:
parent
bbf8f50cde
commit
580e3a799e
1 changed files with 4 additions and 0 deletions
|
@ -83,6 +83,10 @@ cdata.set_quoted('GST_PTP_HELPER_INSTALLED', join_paths(prefix, helpers_install_
|
|||
cdata.set_quoted('GST_PLUGIN_SCANNER_SUBDIR', libexecdir,
|
||||
description: 'libexecdir path component, used to find plugin-scanner on relocatable builds on windows')
|
||||
|
||||
if host_system == 'darwin'
|
||||
cdata.set_quoted('GST_EXTRA_MODULE_SUFFIX', '.dylib')
|
||||
endif
|
||||
|
||||
if gst_version_nano > 0
|
||||
# Have GST_ERROR message printed when running from git
|
||||
cdata.set('GST_LEVEL_DEFAULT', 'GST_LEVEL_ERROR')
|
||||
|
|
Loading…
Reference in a new issue