The branch, master has been updated
       via  073666e lib/socket_wrapper only enable python_socket and socket.py 
with socket_wrapper
      from  cf67da7 libreplace: Fix symbol names for 
snprintf/asprintf/vasprintf.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 073666ed2972b63bec4e86762943e6c9b99f84e0
Author: Andrew Bartlett <abart...@samba.org>
Date:   Sun May 13 16:02:22 2012 +1000

    lib/socket_wrapper only enable python_socket and socket.py with 
socket_wrapper
    
    Autobuild-User: Andrew Bartlett <abart...@samba.org>
    Autobuild-Date: Sun May 13 10:41:27 CEST 2012 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 lib/socket_wrapper/wscript_build |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/socket_wrapper/wscript_build b/lib/socket_wrapper/wscript_build
index c4b9414..8e1c296 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')


-- 
Samba Shared Repository

Reply via email to