waf: Add SAMBA3_PYTHON context to build python wrappers in samba3
authorAmitay Isaacs <amitay@gmail.com>
Wed, 10 Aug 2011 03:43:18 +0000 (13:43 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 13 Aug 2011 00:25:06 +0000 (10:25 +1000)
buildtools/wafsamba/samba3.py

index e1411e1..b2a3655 100644 (file)
@@ -110,3 +110,8 @@ def SAMBA3_BINARY(bld, name, *args, **kwargs):
        s3_fix_kwargs(bld, kwargs)
        return bld.SAMBA_BINARY(name, *args, **kwargs)
 Build.BuildContext.SAMBA3_BINARY = SAMBA3_BINARY
+
+def SAMBA3_PYTHON(bld, name, *args, **kwargs):
+    s3_fix_kwargs(bld, kwargs)
+    return bld.SAMBA_PYTHON(name, *args, **kwargs)
+Build.BuildContext.SAMBA3_PYTHON = SAMBA3_PYTHON