Update from 1.0.0-stable
[openssl.git] / ms / mingw32.bat
index 8c7c63e0f265894a3cfefe62d3b2a5f4b614de49..7c26983035b252f5711e6dd747eeeff5da931a90 100644 (file)
@@ -79,7 +79,7 @@ mingw32-make -f ms/mingw32a.mak
 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