2022-11-29 04:09:25 +08:00
|
|
|
diff --git a/subprojects/gst-plugins-base/meson.build b/subprojects/gst-plugins-base/meson.build
|
2022-08-04 01:40:07 +08:00
|
|
|
index 495671ebb..fff3ea518 100644
|
2022-11-29 04:09:25 +08:00
|
|
|
--- a/subprojects/gst-plugins-base/meson.build
|
|
|
|
+++ b/subprojects/gst-plugins-base/meson.build
|
2022-08-04 01:40:07 +08:00
|
|
|
@@ -43,7 +43,7 @@ plugins = []
|
|
|
|
|
|
|
|
cc = meson.get_compiler('c')
|
|
|
|
|
|
|
|
-if cc.get_id() == 'msvc'
|
|
|
|
+if cc.get_argument_syntax() == 'msvc'
|
|
|
|
msvc_args = [
|
|
|
|
# Ignore several spurious warnings for things gstreamer does very commonly
|
|
|
|
# If a warning is completely useless and spammy, use '/wdXXXX' to suppress it
|
|
|
|
@@ -75,7 +75,7 @@ endif
|
|
|
|
core_conf = configuration_data()
|
|
|
|
|
|
|
|
# Symbol visibility
|
|
|
|
-if cc.get_id() == 'msvc'
|
|
|
|
+if cc.get_argument_syntax() == 'msvc'
|
|
|
|
export_define = '__declspec(dllexport) extern'
|
|
|
|
elif cc.has_argument('-fvisibility=hidden')
|
|
|
|
add_project_arguments('-fvisibility=hidden', language: 'c')
|