gstreamer-full: warn if version-script not available
authorStéphane Cerveau <scerveau@collabora.com>
Tue, 19 Oct 2021 10:32:32 +0000 (12:32 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 31 Jan 2022 11:04:26 +0000 (11:04 +0000)
Instead of error out, warn user that the platform does not support
the version script.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1191>

meson.build

index 0ff3e47..174e716 100644 (file)
@@ -328,7 +328,7 @@ if get_option('default_library') == 'static'
     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')
+      warning('FIXME: Linker does not support the supplied version script (' + symbol_map + '), please disable the "gst-full-version-script" option')
     endif
   endif