mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
073666ed29
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 13 10:41:27 CEST 2012 on sn-devel-104
22 lines
783 B
Python
22 lines
783 B
Python
#!/usr/bin/env python
|
|
|
|
bld.SAMBA_LIBRARY('socket_wrapper',
|
|
source='socket_wrapper.c',
|
|
group='base_libraries',
|
|
private_library=True,
|
|
enabled=bld.CONFIG_SET('SOCKET_WRAPPER'),
|
|
deps='replace')
|
|
|
|
bld.SAMBA_PYTHON('py_socket_wrapper',
|
|
source='py_socket_wrapper.c',
|
|
deps='socket_wrapper',
|
|
enabled=bld.CONFIG_SET('SOCKET_WRAPPER'),
|
|
public_deps='talloc pytalloc-util',
|
|
realname='samba/socket_wrapper.so')
|
|
|
|
if bld.CONFIG_SET('SOCKET_WRAPPER'):
|
|
bld.SAMBA_SCRIPT('python_socket',
|
|
pattern='socket.py',
|
|
installdir='python',
|
|
installname='samba/socket.py')
|