we need /MD for fips builds
authorDr. Stephen Henson <steve@openssl.org>
Mon, 24 Feb 2014 18:21:16 +0000 (18:21 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 24 Feb 2014 18:21:35 +0000 (18:21 +0000)
util/pl/VC-32.pl

index 21f8a9beb78d818058e227d5f8ae8ec74205da7f..1c3f158921ea37685448016b8ad0da956548d3d0 100644 (file)
@@ -45,7 +45,7 @@ if ($FLAVOR =~ /WIN64/)
     # considered safe to ignore.
     # 
     $base_cflags= " $mf_cflag";
-    my $f = $shlib?' /MD':' /MT';
+    my $f = $shlib || $fips ?' /MD':' /MT';
     $opt_cflags=$f.' /Ox';
     $dbg_cflags=$f.'d /Od -DDEBUG -D_DEBUG';
     $lflags="/nologo /subsystem:console /opt:ref";