build: Move socket_wrapper to third_party
[bbaumbach/samba-autobuild/.git] / third_party / wscript
index 7c2923f611e679f6e3478146d864a0d399d26bde..a5192eb5f1cbe3c21b1ffa68b8938bf6f6bfd246 100644 (file)
@@ -51,6 +51,8 @@ def configure(conf):
     conf.RECURSE('popt')
     conf.RECURSE('zlib')
     conf.RECURSE('aesni-intel')
+    if conf.CONFIG_GET('ENABLE_SELFTEST'):
+        conf.RECURSE('socket_wrapper')
 
 
 def build(bld):
@@ -75,3 +77,5 @@ def build(bld):
     bld.RECURSE('zlib')
     bld.RECURSE('popt')
     bld.RECURSE('aesni-intel')
+    if bld.CONFIG_GET('SOCKET_WRAPPER'):
+        bld.RECURSE('socket_wrapper')