From 35bbea2f2dc989fa01465441daf350c326567634 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Fri, 4 Jan 2008 12:56:06 +0000 Subject: [PATCH] with as-needed the lib order is important --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c887596..19996fb 100644 --- a/configure.ac +++ b/configure.ac @@ -103,7 +103,7 @@ AC_ARG_WITH(libevent, [ test "$withval" = "no" && AC_MSG_ERROR("cannot work without libevent") CPPFLAGS="$CPPFLAGS -I$withval/include" LDFLAGS="$LDFLAGS -L$withval/lib" ]) -LIBS="$LIBS -levent" +LIBS="-levent $LIBS" AC_LINK_IFELSE([ #include #include -- 2.40.0