license: Microsoft Visual C++ 2015 Runtime Libraries
[LibreOffice.git] / external / openssl / opensslwnt_safeseh.patch
blobf2eafab5b9ed037b6b52998406790d895a417b20
1 use /safeseh in 32-bit MSVC builds; this is not required for 64-bit
3 diff -ru openssl.orig/util/mk1mf.pl openssl/util/mk1mf.pl
4 --- a/openssl.orig/util/mk1mf.pl 2016-03-03 20:22:21.043924505 +0100
5 +++ b/openssl/util/mk1mf.pl 2016-03-03 20:34:45.015901171 +0100
6 @@ -488,7 +493,7 @@
7 SRC_D=$src_dir
9 LINK_CMD=$link
10 -LFLAGS=$lflags
11 +LFLAGS=$lflags /SAFESEH
12 RSC=$rsc \$(SOLARINC)
14 # The output directory for everything interesting
15 @@ -511,7 +516,7 @@
16 MKDIR=$mkdir
17 MKLIB=$bin_dir$mklib
18 MLFLAGS=$mlflags
19 -ASM=$bin_dir$asm
20 +ASM=$bin_dir$asm /safeseh
22 # FIPS validated module and support file locations