Fixed problem with embedding manifests in Windows binaries
This commit is contained in:
parent
fc57f75da7
commit
89a405006b
1 changed files with 5 additions and 0 deletions
|
|
@ -527,6 +527,11 @@ env['FORTRANMODDIR'] = '${TARGET.dir}'
|
|||
|
||||
if env['CC'] == 'cl':
|
||||
env['WIN32'] = True
|
||||
# embed manifest file
|
||||
env['LINKCOM'] = [env['LINKCOM'],
|
||||
'if exist ${TARGET}.manifest mt.exe -nologo -manifest ${TARGET}.manifest -outputresource:$TARGET;1']
|
||||
env['SHLINKCOM'] = [env['SHLINKCOM'],
|
||||
'if exist ${TARGET}.manifest mt.exe -nologo -manifest ${TARGET}.manifest -outputresource:$TARGET;2']
|
||||
else:
|
||||
env['WIN32'] = False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue