summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/external/libldb.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/src/external/libldb.m4 b/src/external/libldb.m4
index 0679e1d19..d3d3ccece 100644
--- a/src/external/libldb.m4
+++ b/src/external/libldb.m4
@@ -5,7 +5,7 @@ AC_SUBST(LDB_LIBS)
PKG_CHECK_MODULES(LDB, ldb >= 0.9.2)
AC_CHECK_HEADERS(ldb.h ldb_module.h,
- [AC_CHECK_LIB(ldb, ldb_init, [LDB_LIBS="-lldb"], , -ltevent) ],
+ [AC_CHECK_LIB(ldb, ldb_init, [LDB_LIBS="-lldb"], , -ltevent -ltdb -ldl -lldap) ],
[AC_MSG_ERROR([LDB header files are not installed])]
)