diff --git a/test/include.am b/test/include.am index ee2ab5ff..04375247 100644 --- a/test/include.am +++ b/test/include.am @@ -140,7 +140,7 @@ if BUILD_WIN32 test_regress_SOURCES += test/regress_iocp.c endif -test_regress_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la $(PTHREAD_LIBS) $(ZLIB_LIBS) +test_regress_LDADD = $(LIBEVENT_GC_SECTIONS) libevent_core.la libevent_extra.la $(PTHREAD_LIBS) $(ZLIB_LIBS) test_regress_CPPFLAGS = $(AM_CPPFLAGS) $(PTHREAD_CFLAGS) $(ZLIB_CFLAGS) -Itest test_regress_LDFLAGS = $(PTHREAD_CFLAGS)