qga/vss-win32: fix midl arguments
Microsoft midl compiler doesn't take "-options" form, nor does it take OUTPUT filename. The -I option seems needless as well (at least with VS15). It's not clear what was actually used when it was introduced in commit b39297aedfabe9. strings says "Created by MIDL version 7.00.0555 at Fri Dec 21 13:36:39 2012". I doubt the makefile rule actually ever worked. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
0265fe9e21
commit
fa142ec89a
@ -26,8 +26,7 @@ if midl.found()
|
||||
gen_tlb = custom_target('gen-tlb',
|
||||
input: 'qga-vss.idl',
|
||||
output: 'qga-vss.tlb',
|
||||
command: [midl, '-tlb', '-I' + config_host['WIN_SDK'],
|
||||
'@INPUT@', '@OUTPUT@'])
|
||||
command: [midl, '@INPUT@', '/tlb', '@OUTPUT@'])
|
||||
else
|
||||
gen_tlb = custom_target('gen-tlb',
|
||||
input: 'qga-vss.tlb',
|
||||
|
Loading…
x
Reference in New Issue
Block a user