mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
s3/param/wscript: build PROVISION subsytem for extra-python/py3
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
4a58393b2b
commit
f24f0e1faf
@ -1,10 +1,16 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('PROVISION',
|
||||
source='provision.c pyparam.c',
|
||||
deps='LIBPYTHON pyparam_util ldb pytalloc-util pyldb-util',
|
||||
pyext=True,
|
||||
enabled=bld.PYTHON_BUILD_IS_ENABLED(),
|
||||
for env in bld.gen_python_environments():
|
||||
name = bld.pyembed_libname('PROVISION')
|
||||
pytalloc_util = bld.pyembed_libname('pytalloc-util')
|
||||
pyparam_util = bld.pyembed_libname('pyparam_util')
|
||||
libpython = bld.pyembed_libname('LIBPYTHON')
|
||||
|
||||
pyldb_util = bld.pyembed_libname('pyldb-util')
|
||||
bld.SAMBA_SUBSYSTEM(name,
|
||||
source='provision.c pyparam.c',
|
||||
deps='%s %s ldb %s %s' % (libpython, pyparam_util, pytalloc_util, pyldb_util),
|
||||
pyext=True,
|
||||
enabled=bld.PYTHON_BUILD_IS_ENABLED(),
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user