[PATCH] fix ldb build when not building whole of samba4

Stewart Smith stewart at flamingspork.com
Thu Jun 3 14:27:39 GMT 2004


after building tdb, this will let you actually make ldb (assuming the
code builds :) :

Index: Makefile.ldb
===================================================================
--- Makefile.ldb	(revision 989)
+++ Makefile.ldb	(working copy)
@@ -9,7 +9,7 @@
 LDB_LDAP_OBJ=ldb_ldap/ldb_ldap.o
 endif
 
-TDBDIR=../tdb
+TDBDIR=../tdb/common
 
 CFLAGS=-Wall -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -g -Iinclude -I. -I.. -DSTANDALONE=1 -DUSE_MMAP=1 $(LDAP_FLAGS)
 LIB_FLAGS=-Llib -lldb $(LDAP_LIBS)


More information about the samba-technical mailing list