echo "${ECHO_T}found in $thedir" >&6; }
CPPFLAGS="$CPPFLAGS -I$thedir";
LATE_LDFLAGS="$thedir/*.lo";
- LDFLAGS="$LATE_LDFLAGS $LDFLAGS"
+ LDFLAGS="$thedir/*.o $LDFLAGS"
else
{ { echo "$as_me:$LINENO: error: Cannot find the libevent library in $withval
You can restart ./configure --with-libevent=no to use a builtin alternative.
AC_MSG_RESULT(found in $thedir)
CPPFLAGS="$CPPFLAGS -I$thedir";
LATE_LDFLAGS="$thedir/*.lo";
- LDFLAGS="$LATE_LDFLAGS $LDFLAGS"
+ LDFLAGS="$thedir/*.o $LDFLAGS"
else
AC_MSG_ERROR([Cannot find the libevent library in $withval
You can restart ./configure --with-libevent=no to use a builtin alternative.