PR: 2048
authorDr. Stephen Henson <steve@openssl.org>
Sat, 19 Sep 2009 23:00:55 +0000 (23:00 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 19 Sep 2009 23:00:55 +0000 (23:00 +0000)
Submitted by: john blair <mailtome200420032002@yahoo.com>
Approved by: steve@openssl.org

Add version info in VC-WIN64A too.

util/mk1mf.pl

index a8507b294812b1b6a71715c91588c2871b6821f0..66fe56b561d42224b94fe2575ae06663eefab690 100755 (executable)
@@ -638,7 +638,8 @@ foreach (values %lib_nam)
        }
 
 # hack to add version info on MSVC
-if (($platform eq "VC-WIN32") || ($platform eq "VC-NT")) {
+if (($platform eq "VC-WIN32") || ($platform eq "VC-WIN64A)
+                               || ($platform eq "VC-NT")) {
     $rules.= <<"EOF";
 \$(OBJ_D)\\\$(CRYPTO).res: ms\\version32.rc
        \$(RSC) /fo"\$(OBJ_D)\\\$(CRYPTO).res" /d CRYPTO ms\\version32.rc
@@ -830,7 +831,7 @@ sub do_defs
                $ret.=$t;
                }
        # hack to add version info on MSVC
-       if ($shlib && (($platform eq "VC-WIN32") || ($platform eq "VC-NT")))
+       if ($shlib && (($platform eq "VC-WIN32") || ($platform eq "VC-WIN64A) || ($platform eq "VC-NT")))
                {
                if ($var eq "CRYPTOOBJ")
                        { $ret.="\$(OBJ_D)\\\$(CRYPTO).res "; }