mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-21 17:21:13 +00:00
gstreamer-full: Specify the pattern for MSVC static libraries
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5194>
This commit is contained in:
parent
dd6df92702
commit
c4b30174a3
1 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,8 @@ if __name__ == "__main__":
|
|||
filename = os.path.basename(plugin).strip()
|
||||
if filename.startswith('libgst') and filename.endswith('.a'):
|
||||
plugin_name = filename[len('libgst'):-len('.a')]
|
||||
elif filename.startswith('libgst') and filename.endswith('.lib'):
|
||||
plugin_name = filename[len('libgst'):-len('.lib')]
|
||||
plugins_registration += ['GST_PLUGIN_STATIC_REGISTER(%s);' % (plugin_name)]
|
||||
plugins_declaration += ['GST_PLUGIN_STATIC_DECLARE(%s);' % (plugin_name)]
|
||||
|
||||
|
|
Loading…
Reference in a new issue