diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-05-13 16:02:22 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-05-13 10:41:27 +0200 |
commit | 073666ed2972b63bec4e86762943e6c9b99f84e0 (patch) | |
tree | e424ff3746be1fbae9532ce26cc9454447f3eeec /lib/socket_wrapper | |
parent | cf67da70c9a63c4dc63f287059321d6c36d1e19e (diff) | |
download | samba-073666ed2972b63bec4e86762943e6c9b99f84e0.tar.gz samba-073666ed2972b63bec4e86762943e6c9b99f84e0.tar.bz2 samba-073666ed2972b63bec4e86762943e6c9b99f84e0.zip |
lib/socket_wrapper only enable python_socket and socket.py with socket_wrapper
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sun May 13 10:41:27 CEST 2012 on sn-devel-104
Diffstat (limited to 'lib/socket_wrapper')
-rw-r--r-- | lib/socket_wrapper/wscript_build | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/socket_wrapper/wscript_build b/lib/socket_wrapper/wscript_build index c4b94147d6..8e1c296229 100644 --- a/lib/socket_wrapper/wscript_build +++ b/lib/socket_wrapper/wscript_build @@ -8,12 +8,14 @@ bld.SAMBA_LIBRARY('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') + source='py_socket_wrapper.c', + deps='socket_wrapper', + enabled=bld.CONFIG_SET('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') +if bld.CONFIG_SET('SOCKET_WRAPPER'): + bld.SAMBA_SCRIPT('python_socket', + pattern='socket.py', + installdir='python', + installname='samba/socket.py') |