Submitted by: john blair <mailtome200420032002@yahoo.com>
Approved by: steve@openssl.org

Add version info in VC-WIN64A too.
This commit is contained in:
Dr. Stephen Henson 2009-09-19 23:01:52 +00:00
parent 3b95629db1
commit edaa7a599a

View file

@ -863,7 +863,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
@ -1142,7 +1143,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 "; }