Switch Win32/64 targets to Winsock2. Updates to ISNTALL.W32 cover even
[openssl.git] / util / pl / VC-32.pl
index f24b9f6..1140cfb 100644 (file)
@@ -127,7 +127,7 @@ $efile="/out:";
 $exep='.exe';
 if ($no_sock)          { $ex_libs=''; }
 elsif ($FLAVOR =~ /CE/)        { $ex_libs='winsock.lib'; }
-else                   { $ex_libs='wsock32.lib'; }
+else                   { $ex_libs='ws2_32.lib'; }
 
 if ($FLAVOR =~ /CE/)
        {
@@ -280,7 +280,7 @@ sub do_lib_rule
                else
                        {
                        $ex.=' unicows.lib' if ($FLAVOR =~ /NT/);
-                       $ex.=' wsock32.lib gdi32.lib advapi32.lib user32.lib';
+                       $ex.=' ws2_32.lib gdi32.lib advapi32.lib user32.lib';
                        $ex.=' bufferoverflowu.lib' if ($FLAVOR =~ /WIN64/);
                        }
                $ex.=" $zlib_lib" if $zlib_opt == 1 && $target =~ /O_CRYPTO/;