summaryrefslogtreecommitdiff
path: root/lib/socket_wrapper/wscript_build
blob: c4b94147d619b15be6f2c9a7fffcf833e1e8c68f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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',
                public_deps='talloc pytalloc-util',
                realname='samba/socket_wrapper.so')

bld.SAMBA_SCRIPT('python_socket',
                pattern='socket.py',
                installdir='python',
                installname='samba/socket.py')