Link with ssp on win32.

Recent version of mingw need projects using `-D_FORTIFY_SOURCE` to link
with `ssp`.

See https://github.com/msys2/MINGW-packages/issues/5868#issuecomment-544107564
This commit is contained in:
Matthieu Gautier 2021-06-30 16:14:39 +02:00
parent 16214edbcf
commit c244e5b779
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class Win32PlatformInfo(PlatformInfo):
build = 'win32'
compatible_hosts = ['fedora', 'debian']
arch_full = 'i686-w64-mingw32'
extra_libs = ['-lwinmm', '-lshlwapi', '-lws2_32']
extra_libs = ['-lwinmm', '-lshlwapi', '-lws2_32', '-lssp']
def get_cross_config(self):
return {