summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-08-23 11:21:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:16:36 -0500
commit461ff1ecc9a91f7e9df0476c757865fc69e2228c (patch)
tree5fce4fbc4e3a9160765fddba9d0bdf7d2b74e3f1
parent8ad26badea9fdf6b5ab18ec0a9bfc8c46fe5a7ff (diff)
downloadsamba-461ff1ecc9a91f7e9df0476c757865fc69e2228c.tar.gz
samba-461ff1ecc9a91f7e9df0476c757865fc69e2228c.tar.bz2
samba-461ff1ecc9a91f7e9df0476c757865fc69e2228c.zip
r17746: the automatic archive creation in make breaks on 3 platforms. Lets try
manual archives and see if they work a bit better .... (This used to be commit 15ec8c3741f89ac4d6f0cd794dc916ee37d883cc)
-rw-r--r--source4/lib/ldb/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in
index 51227a29ed..f164e84c3b 100644
--- a/source4/lib/ldb/Makefile.in
+++ b/source4/lib/ldb/Makefile.in
@@ -57,13 +57,13 @@ LDB_LIB = lib/libldb.a
BINS = bin/ldbadd bin/ldbsearch bin/ldbdel bin/ldbmodify bin/ldbedit bin/ldbrename bin/ldbtest bin/oLschema2ldif
-LIBS = $(LDB_LIB)( $(OBJS) )
+LIBS = $(LDB_LIB)
EXAMPLES = examples/ldbreader examples/ldifreader
DIRS = lib bin common replace ldb_tdb ldb_ldap ldb_sqlite3 modules tools examples tdb talloc
-all: dirs $(OBJS) $(LIBS) $(BINS) $(EXAMPLES) manpages
+all: dirs $(OBJS) $(LDB_LIB) $(BINS) $(EXAMPLES) manpages
.c.o:
@echo Compiling $*.c
@@ -74,6 +74,8 @@ dirs:
@mkdir -p $(DIRS)
lib/libldb.a: $(OBJS)
+ ar -rv $@ $(OBJS)
+ @-ranlib $@
bin/ldbadd: tools/ldbadd.o tools/cmdline.o $(LIBS)
$(CC) -o bin/ldbadd tools/ldbadd.o tools/cmdline.o $(LIB_FLAGS)