Ensure proper linking with OpenSSL with recent versions of MinGW.

This commit is contained in:
Guus Sliepen 2011-05-08 23:12:06 +02:00
parent 67766d65f0
commit dc887f5011
2 changed files with 6 additions and 10 deletions

View file

@ -67,7 +67,7 @@ case $host_os in
*mingw*)
AC_DEFINE(HAVE_MINGW, 1, [MinGW])
[ rm -f src/device.c; cp -f src/mingw/device.c src/device.c ]
LIBS="$LIBS -lws2_32"
LIBS="$LIBS -lws2_32 -lgdi32 -lcrypt32"
;;
*)
AC_MSG_ERROR("Unknown operating system.")