diff --git a/configure.ac b/configure.ac index 1d4b94f1..9ac392b3 100644 --- a/configure.ac +++ b/configure.ac @@ -127,7 +127,7 @@ AC_CHECK_FUNCS([gethostbyname], [], [AC_CHECK_LIB([socket], [gethostbyname], [], [AC_CHECK_LIB([ws2_32], [main], [AC_CHECK_LIB([wsock32], [main], - [LIBS="-lws2_32 -lwsock32 $LIBS"], + [LIBS="-lws2_32 -lwsock32 -lgdi32 -lcrypt32 $LIBS"], [AC_MSG_ERROR([wsock32 function not found.])])], [AC_MSG_ERROR([gethostbyname function not found.])])])])])] )