summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/pdb/wscript_build10
-rw-r--r--source3/wscript2
-rwxr-xr-xsource3/wscript_build1
3 files changed, 12 insertions, 1 deletions
diff --git a/examples/pdb/wscript_build b/examples/pdb/wscript_build
new file mode 100644
index 00000000000..11d00ba2d82
--- /dev/null
+++ b/examples/pdb/wscript_build
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+
+bld.SAMBA3_MODULE('pdb_test',
+ subsystem='pdb',
+ source='test.c',
+ deps='samba-util',
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_test'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_test'))
+
diff --git a/source3/wscript b/source3/wscript
index 87755ca894e..5746533effc 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1639,7 +1639,7 @@ main() {
default_static_modules.extend(TO_LIST('pdb_ads auth_netlogond charset_weird'))
default_shared_modules.extend(TO_LIST('perfcount_test'))
default_shared_modules.extend(TO_LIST('vfs_skel_opaque vfs_skel_transparent vfs_shadow_copy_test'))
- default_shared_modules.extend(TO_LIST('auth_skel'))
+ default_shared_modules.extend(TO_LIST('auth_skel pdb_test'))
default_static_modules.extend(TO_LIST('pdb_samba4 auth_samba4 vfs_dfs_samba4'))
diff --git a/source3/wscript_build b/source3/wscript_build
index 2667e328b07..6c27ecde191 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -1407,6 +1407,7 @@ bld.RECURSE('passdb')
bld.RECURSE('rpc_server')
bld.RECURSE('winbindd')
bld.RECURSE('../examples/auth')
+bld.RECURSE('../examples/pdb')
bld.RECURSE('../examples/VFS')