summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/SConscript
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-28 18:18:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:08 -0500
commit5058f4b9e82ca8b9f2405930db3a46b8c37f06ed (patch)
tree008fb92b76381b2070568a27b905ff64608cb2b0 /source4/lib/ldb/SConscript
parent09ee7a470ba052d184f94336cd7635efca387ace (diff)
downloadsamba-5058f4b9e82ca8b9f2405930db3a46b8c37f06ed.tar.gz
samba-5058f4b9e82ca8b9f2405930db3a46b8c37f06ed.tar.bz2
samba-5058f4b9e82ca8b9f2405930db3a46b8c37f06ed.zip
r10586: Add MergedObject() builder. Default to Library() rather
then StaticLibrary() (This used to be commit b53313dc517986c69a4e4cb8fe3885b696f8faa1)
Diffstat (limited to 'source4/lib/ldb/SConscript')
-rw-r--r--source4/lib/ldb/SConscript22
1 files changed, 11 insertions, 11 deletions
diff --git a/source4/lib/ldb/SConscript b/source4/lib/ldb/SConscript
index 6dfb53f789..8e246d1961 100644
--- a/source4/lib/ldb/SConscript
+++ b/source4/lib/ldb/SConscript
@@ -12,32 +12,32 @@ if hostenv['configure']:
conf.Finish()
if defines.has_key('HAVE_SQLITE3'):
- hostenv.StaticLibrary('ldb_sqlite3/ldb_sqlite3.c')
+ hostenv.Library('ldb_sqlite3/ldb_sqlite3.c')
# LDB modules
modules = []
-modules.append(hostenv.StaticLibrary('modules/timestamps.c'))
-modules.append(hostenv.StaticLibrary('modules/rdn_name.c'))
-modules.append(hostenv.StaticLibrary('modules/schema.c'))
-modules.append(hostenv.StaticLibrary('ldb_ildap/ldb_ildap.c'))
-#modules.append(hostenv.StaticLibrary('modules/ldb_map.c'))
+modules.append(hostenv.Library('modules/timestamps.c'))
+modules.append(hostenv.Library('modules/rdn_name.c'))
+modules.append(hostenv.Library('modules/schema.c'))
+modules.append(hostenv.Library('ldb_ildap/ldb_ildap.c'))
+#modules.append(hostenv.Library('modules/ldb_map.c'))
Import('dsdb_ldb_modules')
modules += dsdb_ldb_modules
-modules.append(hostenv.StaticLibrary(
+modules.append(hostenv.Library(
'ldb_tdb',
['ldb_tdb/ldb_tdb.c', 'ldb_tdb/ldb_search.c', 'ldb_tdb/ldb_pack.c',
'ldb_tdb/ldb_index.c', 'ldb_tdb/ldb_cache.c', 'ldb_tdb/ldb_tdb_wrap.c']))
-#modules.append(hostenv.StaticLibrary('ldb_ildap', ['ldb_ildap/ldb_ildap.c']))
+#modules.append(hostenv.Library('ldb_ildap', ['ldb_ildap/ldb_ildap.c']))
# Export the ldb base plus modules for other parts of the build system
# to enjoy.
-ldb = hostenv.StaticLibrary(
+ldb = hostenv.Library(
'ldb',
['common/ldb.c', 'common/ldb_ldif.c', 'common/ldb_parse.c',
'common/ldb_parse.c', 'common/ldb_msg.c', 'common/ldb_utf8.c',
@@ -46,8 +46,8 @@ ldb = hostenv.StaticLibrary(
Export('ldb')
-hostenv.StaticLibrary('samba/ldif_handlers.c')
-ldb_cmdline = hostenv.StaticLibrary('ldb_cmdline', 'tools/cmdline.c')
+hostenv.Library('samba/ldif_handlers.c')
+ldb_cmdline = hostenv.Library('ldb_cmdline', 'tools/cmdline.c')
# Tools