summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-08-10 13:43:18 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-13 10:25:06 +1000
commita1088d08430bbf487c34236bbad367158621ecd9 (patch)
tree027f7abaf8a87998300b34d76d7743c0481e64e9 /buildtools/wafsamba
parent4967b04ada42d82acb1dfdade0f776ee7885f99d (diff)
downloadsamba-a1088d08430bbf487c34236bbad367158621ecd9.tar.gz
samba-a1088d08430bbf487c34236bbad367158621ecd9.tar.bz2
samba-a1088d08430bbf487c34236bbad367158621ecd9.zip
waf: Add SAMBA3_PYTHON context to build python wrappers in samba3
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba3.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba3.py b/buildtools/wafsamba/samba3.py
index e1411e176f..b2a3655d13 100644
--- a/buildtools/wafsamba/samba3.py
+++ b/buildtools/wafsamba/samba3.py
@@ -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