diff --git a/source/lib/ldb/Makefile.ldb b/source/lib/ldb/Makefile.ldb index 5573fba32f7..6a870431145 100644 --- a/source/lib/ldb/Makefile.ldb +++ b/source/lib/ldb/Makefile.ldb @@ -4,7 +4,7 @@ WITH_LDAP=1 ifeq ($(WITH_LDAP),1) OPENLDAP_PREFIX=/usr -LDAP_LIBS=-L$(OPENLDAP_PREFIX)/lib -lldap +LDAP_LIBS=-L$(OPENLDAP_PREFIX)/lib -llber -lldap LDAP_FLAGS=-DHAVE_LDAP=1 LDB_LDAP_OBJ=ldb_ldap/ldb_ldap.o endif