1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/web_server/wscript_build
Noel Power 0df8ef41a3 PY3: use pyembed_libname for library names (otherwise missing deps)
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-09-16 06:16:20 +02:00

22 lines
469 B
Python

#!/usr/bin/env python
libpython = bld.pyembed_libname('LIBPYTHON')
bld.SAMBA_SUBSYSTEM('WEB_WSGI',
source='wsgi.c',
pyext=True,
deps='talloc LIBTSOCKET',
enabled=bld.AD_DC_BUILD_IS_ENABLED()
)
bld.SAMBA_MODULE('service_web',
source='web_server.c',
subsystem='service',
init_function='server_service_web_init',
deps='LIBTLS process_model %s WEB_WSGI' % libpython,
pyembed=True,
internal_module=False,
enabled=bld.AD_DC_BUILD_IS_ENABLED()
)