Fix static VC++ build for FIPS.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 22 Jan 2006 00:04:39 +0000 (00:04 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 22 Jan 2006 00:04:39 +0000 (00:04 +0000)
util/pl/VC-32.pl

index 813aa08745d6abc54939c44dbb19b6b155069c7a..51210347ebec48e601437a09a7b152e480b15caf 100644 (file)
@@ -164,7 +164,6 @@ sub do_link_rule
        $ret.="$target: $files $dep_libs\n";
        if ($fips && !$shlib)
                {
-               $ret.="$target: $files $dep_libs\n";
                $ret.="\tSET FIPS_LINK=\$(LINK)\n";
                $ret.="\tSET FIPS_CC=\$(CC)\n";
                $ret.="\tSET FIPS_CC_ARGS=/Fo\$(OBJ_D)${o}fips_premain.obj \$(SHLIB_CFLAGS) -c \$(SRC_D)${o}fips${o}fips_premain.c\n";
@@ -176,8 +175,8 @@ sub do_link_rule
        else
                {
                $ret.="  \$(LINK) \$(LFLAGS) $efile$target @<<\n";
+               $ret.="  \$(APP_EX_OBJ) $files $libs\n<<\n";
                }
-       $ret.="  \$(APP_EX_OBJ) $files $libs\n<<\n";
        $ret.="\n";
        return($ret);
        }