git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23637b5
)
s3:build: link libtdb as shared lib if using shared libs at all
author
Michael Adam
<obnox@samba.org>
Fri, 6 May 2011 14:43:31 +0000
(16:43 +0200)
committer
Michael Adam
<obnox@samba.org>
Fri, 13 May 2011 14:42:24 +0000
(16:42 +0200)
source3/configure.in
patch
|
blob
|
history
diff --git
a/source3/configure.in
b/source3/configure.in
index 11bea9d7aef2ca04c688ffa98695914dc34db994..e1e2d39acd75c61b4875a14a7651a5e442622bd7 100644
(file)
--- 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=""