summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-12 13:51:03 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-12 13:51:03 +0100
commit1ed346fcb37f302341f528e2f8465d389f586742 (patch)
treea421843c03029404853746f2b38a7a8837df851b /source4
parent285820bdd4ea94ac78ded03ec6388ca8c777358c (diff)
downloadsamba-1ed346fcb37f302341f528e2f8465d389f586742.tar.gz
samba-1ed346fcb37f302341f528e2f8465d389f586742.tar.bz2
samba-1ed346fcb37f302341f528e2f8465d389f586742.zip
Support using shared library during testsuite run if tdb was built with a shared lib internally.
(This used to be commit 28539f48e6ad37a6436e6f2c6733ee1fcbc6567f)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/tdb/tdb.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/tdb/tdb.mk b/source4/lib/tdb/tdb.mk
index 5cf0d5badb..d0f9815c13 100644
--- a/source4/lib/tdb/tdb.mk
+++ b/source4/lib/tdb/tdb.mk
@@ -25,8 +25,8 @@ bin/tdbdump$(EXEEXT): tools/tdbdump.o $(TDB_LIB)
bin/tdbbackup$(EXEEXT): tools/tdbbackup.o $(TDB_LIB)
$(CC) $(CFLAGS) $(LDFLAGS) -o bin/tdbbackup tools/tdbbackup.o -L. -ltdb
-test:: bin/tdbtorture$(EXEEXT)
- bin/tdbtorture$(EXEEXT)
+test:: bin/tdbtorture$(EXEEXT) $(SONAME)
+ $(LIB_PATH_VAR)=. bin/tdbtorture$(EXEEXT)
clean::
rm -f test.db test.tdb torture.tdb test.gdbm