r12613@catbus: nickm | 2007-04-30 23:40:36 -0400

Use -lws2_32 when checking for event_get_version


svn:r10083
This commit is contained in:
Nick Mathewson 2007-05-01 03:40:40 +00:00
parent 8f94f0540f
commit 5a41e52deb

View File

@ -195,7 +195,7 @@ TOR_SEARCH_LIBRARY(libevent, $trylibeventdir, [-levent $TOR_LIB_WS32], [
dnl Now check for particular libevent functions.
save_LIBS="$LIBS"
save_LDFLAGS="$LDFLAGS"
LIBS="-levent $LIBS"
LIBS="-levent $TOR_LIB_WS32 $LIBS"
LDFLAGS="$TOR_LDFLAGS_libevent $LIBS"
AC_CHECK_FUNCS(event_get_version event_get_method event_set_log_callback)
LIBS="$save_LIBS"