summaryrefslogtreecommitdiff
path: root/source4/lib
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/lib
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/lib')
-rw-r--r--source4/lib/messaging/wscript_build2
-rw-r--r--source4/lib/wscript_build13
2 files changed, 8 insertions, 7 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
+ )