Make dynamic engine link work with capi.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 29 May 2008 17:51:22 +0000 (17:51 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 29 May 2008 17:51:22 +0000 (17:51 +0000)
util/pl/VC-32.pl

index 627613e5a8648627d174804d153f0b3d5f46c692..6f986fdb3eafe25d95f74089444bbda0f5580226 100644 (file)
@@ -259,7 +259,6 @@ sub do_lib_rule
                $name =~ tr/a-z/A-Z/;
                $name = "/def:ms/${name}.def";
                }
-
 #      $target="\$(LIB_D)$o$target";
        $ret.="$target: $objs\n";
        if (!$shlib)
@@ -274,6 +273,7 @@ sub do_lib_rule
                if ($name eq "")
                        {
                        $ex.=' bufferoverflowu.lib' if ($FLAVOR =~ /WIN64/);
+                       $ex.=' crypt32.lib advapi32.lib' if ($target =~ /capi/);
                        }
                elsif ($FLAVOR =~ /CE/)
                        {