vcpkg/ports/gstreamer/fix-clang-cl.patch
Cedric GNIEWEK 4eaa3d2118
[gstreamer] Update to version 1.20.4 and rework (#27790)
* Update to GStreamer v1.20.3

* Fixed gst-plugins-bad * Made optional dependences features * Added webrtc feature

* webrtc dependency fixes

Set meson option 'gst_debug' to true for both debug and release configurations
Enabled dtls and srtp plugins
Fixed srtp plugin

* [gstreamer] Changed version to 1.20.4

* [gstreamer] Reworked port file

* [gst-rtsp-server] Updated to version 1.20.4

* [opencv4] Update GStreamer dependency

* [qtmultimedia] Update GStreamer dependency

* [qtmultimedia] Enabled AVFoundation (part of the Apple Frameworks)

* [qtbase] Fix PCRE2 static linking for GLib

* Added versions

Co-authored-by: Gerard Ryan <gerard.ryan@immersaview.com>
Co-authored-by: David Ely <david.ely@immersaview.com>
2022-11-28 12:09:25 -08:00

23 lines
1.0 KiB
Diff

diff --git a/meson.build b/meson.build
index 1316366ed..daeaf3cb1 100644
--- a/meson.build
+++ b/meson.build
@@ -62,7 +62,7 @@ endif
# Ensure that MSVC interprets all source code as UTF-8. Only do this when we're
# not a subproject, because subprojects are not allowed to call
# add_global_arguments().
-if not meson.is_subproject() and cc.get_id() == 'msvc'
+if not meson.is_subproject() and cc.get_argument_syntax() == 'msvc'
add_global_arguments(
cc.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8
language: ['c', 'cpp'])
@@ -316,7 +316,7 @@ if get_option('default_library') == 'static'
if cc.has_link_argument(link_arg)
gstfull_link_args += link_arg
link_deps += symbol_map
- elif cc.get_id() == 'msvc'
+ elif cc.get_argument_syntax() == 'msvc'
warning('FIXME: Provide a def file to publish the public symbols')
else
warning('FIXME: Linker does not support the supplied version script (' + symbol_map + '), please disable the "gst-full-version-script" option')