From 52e7b2a8e039450bd15e812ada6bb0f53ce316e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Wed, 18 Nov 2020 10:44:34 +0100 Subject: [PATCH] gst-full: fix static build on Windows host Static build needs a version script which is not available on Windows. Need to implement use of def file. Part-of: --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index c6e6b2adc0..551000e3b8 100644 --- a/meson.build +++ b/meson.build @@ -293,10 +293,12 @@ if get_option('default_library') == 'static' link_arg = '-Wl,--version-script=' + symbol_map if cc.has_link_argument(link_arg) gstfull_link_args += link_arg + link_deps += symbol_map + elif cc.get_id() == 'msvc' + warning('FIXME: Provide a def file to publish the public symbols') else error('Failed to link with version script (' + symbol_map + '), check logs for details') endif - link_deps += symbol_map endif # Build both shared and static library