MinGW: Don't link to LIBGCC*.DLL and LIBSTDC++-*.DLL
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6261 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
59be675382
commit
f2e3e13a0e
1 changed files with 5 additions and 0 deletions
|
@ -33,6 +33,11 @@ defenv['SUBSYS_CON'] = '-Wl,--subsystem,console'
|
|||
defenv['MSVCRT_FLAG'] = ''
|
||||
defenv['STDCALL'] = '"__attribute__((__stdcall__))"'
|
||||
|
||||
# Don't allow mingw to link with LIBGCC*.DLL and LIBSTDC++-*.DLL
|
||||
if defenv['PLATFORM'] == 'win32':
|
||||
defenv.Append(LINKFLAGS = ['-static-libgcc'])
|
||||
defenv.Append(LINKFLAGS = ['-static-libstdc++'])
|
||||
|
||||
### defines
|
||||
|
||||
defenv.Append(CPPDEFINES = [('NSISCALL', '$STDCALL')])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue