diff options
| author | Michael Adam <obnox@samba.org> | 2011-05-06 16:43:31 +0200 |
|---|---|---|
| committer | Michael Adam <obnox@samba.org> | 2011-05-13 16:42:24 +0200 |
| commit | 3f222513cc99b7ce048bcdaa8cc10f7b91616904 (patch) | |
| tree | 7f50ea8b69774b65839bfb0a5921464c86cd27f5 | |
| parent | 23637b5789a43fe75bb4eadabd33fb321272b42b (diff) | |
| download | samba-3f222513cc99b7ce048bcdaa8cc10f7b91616904.tar.gz samba-3f222513cc99b7ce048bcdaa8cc10f7b91616904.tar.xz samba-3f222513cc99b7ce048bcdaa8cc10f7b91616904.zip | |
s3:build: link libtdb as shared lib if using shared libs at all
| -rw-r--r-- | source3/configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in index 11bea9d7ae..e1e2d39acd 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2150,7 +2150,9 @@ AC_SUBST(LIBTDB_OBJ0) if test "x$enable_external_libtdb" = xno then m4_include(../lib/tdb/libtdb.m4) - LINK_LIBTDB=STATIC + if test x"$USESHARED" == x"no" ; then + LINK_LIBTDB=STATIC + fi LIBTDBVERSION=`grep ^VERSION ${tdbdir}/wscript | sed -e "s/'//g" -e 's/.* //'` SMB_LIBRARY(tdb, 1, ${LIBTDBVERSION}) LIBTDB_OBJ0="" |
