mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-09-25 05:55:20 -04:00
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:
parent
16214edbcf
commit
c244e5b779
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user