mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
msys2: Handle aliased functions when generating the .lib files
This commit is contained in:
parent
c79e252c53
commit
20cca3f10b
1 changed files with 2 additions and 1 deletions
|
@ -64,7 +64,8 @@ class Msys2Configurer(GstBuildConfigurer):
|
|||
suffix='.def', delete=False, mode='w')
|
||||
def_file.write('LIBRARY ' + dll_name + '\r\n')
|
||||
def_file.write('EXPORTS\r\n')
|
||||
for ordinal, _, _, name in exports:
|
||||
for tmp in exports:
|
||||
ordinal, name = tmp[0], tmp[3]
|
||||
def_file.write(name + ' @' + ordinal + '\r\n')
|
||||
def_file.close()
|
||||
subprocess.check_output(['lib', '/def:' + def_file.name,
|
||||
|
|
Loading…
Reference in a new issue