From: Stéphane Cerveau Date: Wed, 18 Nov 2020 09:44:34 +0000 (+0100) Subject: gst-full: fix static build on Windows host X-Git-Tag: 1.19.3~481^2~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52e7b2a8e039450bd15e812ada6bb0f53ce316e2;p=platform%2Fupstream%2Fgstreamer.git 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: --- diff --git a/meson.build b/meson.build index c6e6b2a..551000e 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