diff options
-rw-r--r-- | source3/configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in index 34be4fe761..11bea9d7ae 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2151,7 +2151,8 @@ if test "x$enable_external_libtdb" = xno then m4_include(../lib/tdb/libtdb.m4) LINK_LIBTDB=STATIC - SMB_LIBRARY(tdb, 1) + LIBTDBVERSION=`grep ^VERSION ${tdbdir}/wscript | sed -e "s/'//g" -e 's/.* //'` + SMB_LIBRARY(tdb, 1, ${LIBTDBVERSION}) LIBTDB_OBJ0="" LIBTDB_LIBS="$LIBTDB_LIBS $TDB_DEPS" for obj in ${TDB_OBJ}; do |