projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5708ec7
)
with as-needed the lib order is important
author
Marko Kreen
<markokr@gmail.com>
Fri, 4 Jan 2008 12:56:06 +0000
(12:56 +0000)
committer
Marko Kreen
<markokr@gmail.com>
Fri, 4 Jan 2008 12:56:06 +0000
(12:56 +0000)
configure.ac
patch
|
blob
|
blame
|
history
diff --git
a/configure.ac
b/configure.ac
index c88759628a73a0a3401d2f896534b03b86ea89ac..19996fb5d1225d9b89d618516473be26c77d484a 100644
(file)
--- 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 <sys/types.h>
#include <sys/time.h>