gstplugin: remove gst prefix when loading plugin on MSVC

When building with Meson and MSVC, our plugins don't have a 'libgst'
suffix and are just 'gstfoo.dll', so look for that too.

https://bugzilla.gnome.org/show_bug.cgi?id=783333
This commit is contained in:
Matej Knopp 2017-06-02 00:52:37 +02:00 committed by Nirbheek Chauhan
parent 632952be87
commit c9c2902604

View file

@ -699,6 +699,8 @@ extract_symname (const char *filename)
prefix_len += 6;
else if (g_str_has_prefix (bname, "lib"))
prefix_len += 3;
else if (g_str_has_prefix(bname, "gst"))
prefix_len += 3;
dot = g_utf8_strchr (bname, -1, '.');
if (dot)