Fix from stable branch.
[openssl.git] / util / pl / VC-32.pl
index 17d7448..285b04b 100644 (file)
@@ -118,7 +118,7 @@ sub do_lib_rule
        else
                {
                local($ex)=($target =~ /O_SSL/)?' $(L_CRYPTO)':'';
-               $ex.=' wsock32.lib gdi32.lib advapi32.lib';
+               $ex.=' wsock32.lib gdi32.lib advapi32.lib user32.lib';
                $ret.="\t\$(LINK) \$(MLFLAGS) $efile$target /def:ms/${Name}.def @<<\n  \$(SHLIB_EX_OBJ) $objs $ex\n<<\n";
                }
        $ret.="\n";