mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/226>
This commit is contained in:
parent
000b01c6f1
commit
52e7b2a8e0
1 changed files with 3 additions and 1 deletions
|
@ -293,10 +293,12 @@ if get_option('default_library') == 'static'
|
||||||
link_arg = '-Wl,--version-script=' + symbol_map
|
link_arg = '-Wl,--version-script=' + symbol_map
|
||||||
if cc.has_link_argument(link_arg)
|
if cc.has_link_argument(link_arg)
|
||||||
gstfull_link_args += 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
|
else
|
||||||
error('Failed to link with version script (' + symbol_map + '), check logs for details')
|
error('Failed to link with version script (' + symbol_map + '), check logs for details')
|
||||||
endif
|
endif
|
||||||
link_deps += symbol_map
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Build both shared and static library
|
# Build both shared and static library
|
||||||
|
|
Loading…
Reference in a new issue