diff options
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 2bbdaca..b1efcd5 100644 --- a/configure.ac +++ b/configure.ac @@ -19,8 +19,8 @@ AS_CASE([$host], [*-*-freebsd*], [LDFLAGS="$LDFLAGS -L/usr/local/lib" CPPFLAGS="$CPPFLAGS -I/usr/local/include"], [*-apple-darwin*], [LDFLAGS="$LDFLAGS -headerpad_max_install_names"], [*-w64-mingw*], [ - LIBS="$LIBS -lws2_32" - AC_CHECK_LIB([ws2_32], [closesocket], [], []) + AC_CHECK_LIB([ws2_32], [main], [LIBS="$LIBS -lws2_32"], []) + AC_CHECK_LIB([winmm], [main], [LIBS="$LIBS -lwinmm"], []) ], [] ) |
