mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
0df8ef41a3
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
22 lines
469 B
Python
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()
|
|
)
|