diff options
author | Eric Sandall <sandalle@sourcemage.org> | 2009-06-12 13:03:34 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-06-18 13:49:26 +1000 |
commit | 68fd09e24af35e1e5f87ae437abad8e0f98ac2f5 (patch) | |
tree | f76a559d9c9eb218dd58c25efb0f26613afbb3d2 | |
parent | 71515ba190e90e0250b9de23b7ba871c1dd44f09 (diff) | |
download | samba-68fd09e24af35e1e5f87ae437abad8e0f98ac2f5.tar.gz samba-68fd09e24af35e1e5f87ae437abad8e0f98ac2f5.tar.bz2 samba-68fd09e24af35e1e5f87ae437abad8e0f98ac2f5.zip |
LDB: Link against both tevent and talloc
Patch for bug #6269
When linking against tevent you also need to link against talloc. This patch
fixes external/libevent.m4 to do so.
-rw-r--r-- | source4/lib/ldb/external/libevents.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/external/libevents.m4 b/source4/lib/ldb/external/libevents.m4 index 6a0e36af8b..af046f1430 100644 --- a/source4/lib/ldb/external/libevents.m4 +++ b/source4/lib/ldb/external/libevents.m4 @@ -3,5 +3,5 @@ AC_SUBST(TEVENT_CFLAGS) AC_SUBST(TEVENT_LIBS) AC_CHECK_HEADER(tevent.h, - [AC_CHECK_LIB(tevent, tevent_context_init, [TEVENT_LIBS="-ltevent"]) ], + [AC_CHECK_LIB(tevent, tevent_context_init, [TEVENT_LIBS="-ltevent"], , -ltalloc) ], [PKG_CHECK_MODULES(TEVENT, tevent)]) |