summaryrefslogtreecommitdiff
path: root/source4/dsdb/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dsdb/wscript_build')
-rw-r--r--source4/dsdb/wscript_build27
1 files changed, 13 insertions, 14 deletions
diff --git a/source4/dsdb/wscript_build b/source4/dsdb/wscript_build
index 34ba8edb44a..dbe58859a14 100644
--- a/source4/dsdb/wscript_build
+++ b/source4/dsdb/wscript_build
@@ -69,17 +69,16 @@ bld.SAMBA_MODULE('service_dns_update',
enabled=bld.AD_DC_BUILD_IS_ENABLED()
)
-for env in bld.gen_python_environments():
- pyldb_util = bld.pyembed_libname('pyldb-util')
- pyrpc_util = bld.pyembed_libname('pyrpc_util')
- pyparam_util = bld.pyembed_libname('pyparam_util')
- bld.SAMBA_PYTHON('python_dsdb',
- source='pydsdb.c',
- # the dependency on dcerpc here is because gensec
- # depends on dcerpc but the waf circular dependency finder
- # removes it so we end up with unresolved symbols.
- deps='samdb %s dcerpc com_err %s %s dsdb_garbage_collect_tombstones scavenge_dns_records' %\
- (pyldb_util, pyrpc_util, pyparam_util),
- realname='samba/dsdb.so',
- enabled=bld.AD_DC_BUILD_IS_ENABLED()
- )
+pyldb_util = bld.pyembed_libname('pyldb-util')
+pyrpc_util = bld.pyembed_libname('pyrpc_util')
+pyparam_util = bld.pyembed_libname('pyparam_util')
+bld.SAMBA_PYTHON('python_dsdb',
+ source='pydsdb.c',
+ # the dependency on dcerpc here is because gensec
+ # depends on dcerpc but the waf circular dependency finder
+ # removes it so we end up with unresolved symbols.
+ deps='samdb %s dcerpc com_err %s %s dsdb_garbage_collect_tombstones scavenge_dns_records' %\
+ (pyldb_util, pyrpc_util, pyparam_util),
+ realname='samba/dsdb.so',
+ enabled=bld.AD_DC_BUILD_IS_ENABLED()
+ )