summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dsdb/SConscript19
1 files changed, 16 insertions, 3 deletions
diff --git a/source4/dsdb/SConscript b/source4/dsdb/SConscript
index 34c1f8f7e2..e5708ac62b 100644
--- a/source4/dsdb/SConscript
+++ b/source4/dsdb/SConscript
@@ -1,7 +1,20 @@
Import('hostenv')
-hostenv.StaticLibrary('ldb_objectguid',['samdb/ldb_modules/objectguid.c'])
-hostenv.StaticLibrary('ldb_samldb',['samdb/ldb_modules/samldb.c'])
-hostenv.StaticLibrary('ldb_samba3sam',['samdb/ldb_modules/samba3sam.c'])
+
+dsdb_ldb_modules = []
+
+dsdb_ldb_modules.append(
+ hostenv.StaticLibrary('ldb_objectguid',
+ ['samdb/ldb_modules/objectguid.c']))
+
+dsdb_ldb_modules.append(
+ hostenv.StaticLibrary('ldb_samldb',['samdb/ldb_modules/samldb.c']))
+
+dsdb_ldb_modules.append(
+ hostenv.StaticLibrary('ldb_samba3sam',
+ ['samdb/ldb_modules/samba3sam.c']))
+
+Export('dsdb_ldb_modules')
+
samdb_files = ['samdb/samdb.c','samdb/samdb_privilege.c','common/flag_mapping.c']
hostenv.StaticLibrary('samdb',samdb_files)
hostenv.proto_headers += hostenv.CProtoHeader(samdb_files)