summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-30 12:14:15 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-30 23:49:01 +1100
commiteb0005dfcabedbeed0a75f139d6625b268d5062a (patch)
treee0b95a315742466d330dfe35cb0fed2253112dbc /source4
parent045e3445a0cea796c400eacbdb28611b664ef902 (diff)
downloadsamba-eb0005dfcabedbeed0a75f139d6625b268d5062a.tar.gz
samba-eb0005dfcabedbeed0a75f139d6625b268d5062a.tar.bz2
samba-eb0005dfcabedbeed0a75f139d6625b268d5062a.zip
s4-tdb: make tdb-wrap into a private library
this prevents double linking of the tdb wrap code
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/messaging/wscript_build2
-rw-r--r--source4/lib/wscript_build13
-rw-r--r--source4/param/wscript_build2
3 files changed, 9 insertions, 8 deletions
diff --git a/source4/lib/messaging/wscript_build b/source4/lib/messaging/wscript_build
index 806dcee95f..b7d4fed95e 100644
--- a/source4/lib/messaging/wscript_build
+++ b/source4/lib/messaging/wscript_build
@@ -3,7 +3,7 @@
bld.SAMBA_SUBSYSTEM('MESSAGING',
source='messaging.c',
- public_deps='samba-util TDB_WRAP NDR_IRPC UNIX_PRIVS UTIL_TDB CLUSTER ndr samba_socket dcerpc'
+ public_deps='samba-util tdb-wrap NDR_IRPC UNIX_PRIVS UTIL_TDB cluster ndr samba_socket dcerpc'
)
diff --git a/source4/lib/wscript_build b/source4/lib/wscript_build
index 49da72caca..27b5582ad9 100644
--- a/source4/lib/wscript_build
+++ b/source4/lib/wscript_build
@@ -9,13 +9,14 @@ bld.SAMBA_SUBSYSTEM('LZXPRESS',
bld.SAMBA_SUBSYSTEM('GENCACHE',
source='../../source3/lib/gencache.c',
enabled=False,
- deps='TDB_WRAP'
+ deps='tdb-wrap'
)
-bld.SAMBA_SUBSYSTEM('TDB_WRAP',
- source='tdb_wrap.c',
- public_deps='tdb talloc',
- public_headers='tdb_wrap.h'
- )
+bld.SAMBA_LIBRARY('tdb-wrap',
+ source='tdb_wrap.c',
+ deps='tdb talloc samba-util',
+ public_headers='tdb_wrap.h',
+ private_library=True
+ )
diff --git a/source4/param/wscript_build b/source4/param/wscript_build
index 62e14c4529..3039236bef 100644
--- a/source4/param/wscript_build
+++ b/source4/param/wscript_build
@@ -43,7 +43,7 @@ bld.SAMBA_MODULE('share_ldb',
bld.SAMBA_SUBSYSTEM('SECRETS',
source='secrets.c',
- deps='ldb TDB_WRAP UTIL_TDB NDR_SECURITY tevent ldbwrap'
+ deps='ldb tdb-wrap UTIL_TDB NDR_SECURITY tevent ldbwrap'
)