Add version info to FIPS DLL.
This commit is contained in:
@@ -850,6 +850,9 @@ if (($platform eq "VC-WIN32") || ($platform eq "VC-NT")) {
|
|||||||
\$(OBJ_D)\\\$(SSL).res: ms\\version32.rc
|
\$(OBJ_D)\\\$(SSL).res: ms\\version32.rc
|
||||||
\$(RSC) /fo"\$(OBJ_D)\\\$(SSL).res" /d SSL ms\\version32.rc
|
\$(RSC) /fo"\$(OBJ_D)\\\$(SSL).res" /d SSL ms\\version32.rc
|
||||||
|
|
||||||
|
\$(OBJ_D)\\\$(LIBFIPS).res: ms\\version32.rc
|
||||||
|
\$(RSC) /fo"\$(OBJ_D)\\\$(LIBFIPS).res" /d FIPS ms\\version32.rc
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -321,7 +321,12 @@ sub do_lib_rule
|
|||||||
{
|
{
|
||||||
$ex.= $mwex unless $fipscanisterbuild;
|
$ex.= $mwex unless $fipscanisterbuild;
|
||||||
$ret.="$target: $objs \$(PREMAIN_DSO_EXE)";
|
$ret.="$target: $objs \$(PREMAIN_DSO_EXE)";
|
||||||
$ret.=" ms/\$(LIBFIPS).def" if $fipsdso;
|
if ($fipsdso)
|
||||||
|
{
|
||||||
|
$ex.=" \$(OBJ_D)\\\$(LIBFIPS).res";
|
||||||
|
$ret.=" \$(OBJ_D)\\\$(LIBFIPS).res";
|
||||||
|
$ret.=" ms/\$(LIBFIPS).def";
|
||||||
|
}
|
||||||
$ret.="\n\tSET FIPS_LINK=\$(LINK)\n";
|
$ret.="\n\tSET FIPS_LINK=\$(LINK)\n";
|
||||||
$ret.="\tSET FIPS_CC=\$(CC)\n";
|
$ret.="\tSET FIPS_CC=\$(CC)\n";
|
||||||
$ret.="\tSET FIPS_CC_ARGS=/Fo\$(OBJ_D)${o}fips_premain.obj \$(SHLIB_CFLAGS) -c\n";
|
$ret.="\tSET FIPS_CC_ARGS=/Fo\$(OBJ_D)${o}fips_premain.obj \$(SHLIB_CFLAGS) -c\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user