@rem OpenSSL with Mingw32+GNU as\r
@rem ---------------------------\r
\r
-perl Configure Mingw32 %1 %2 %3 %4 %5 %6 %7 %8\r
+perl Configure mingw %1 %2 %3 %4 %5 %6 %7 %8\r
\r
@echo off\r
\r
if errorlevel 1 goto end\r
\r
echo Generating the DLLs and input libraries\r
-dllwrap --dllname libeay32.dll --output-lib out/libeay32.a --def ms/libeay32.def out/libcrypto.a -lwsock32 -lgdi32\r
+dllwrap --dllname libeay32.dll --output-lib out/libeay32.a --def ms/libeay32.def out/libcrypto.a -lws2_32 -lgdi32\r
if errorlevel 1 goto end\r
dllwrap --dllname libssl32.dll --output-lib out/libssl32.a --def ms/ssleay32.def out/libssl.a out/libeay32.a\r
if errorlevel 1 goto end\r