summaryrefslogtreecommitdiff
path: root/source4/lib/wscript_build
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/wscript_build
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/wscript_build')
-rw-r--r--source4/lib/wscript_build13
1 files changed, 7 insertions, 6 deletions
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
+ )