summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2015-03-06 11:55:49 +0100
committerJelmer Vernooij <jelmer@samba.org>2015-04-24 01:50:11 +0200
commit50311c760685335160742efa01bc64584265ffd5 (patch)
tree054247d53c6aaef27abf9b616ae7836c71e101ef /buildtools/wafsamba
parent8ac9c860de3b902855a00d7589b8a614eec3de45 (diff)
downloadsamba-50311c760685335160742efa01bc64584265ffd5.tar.gz
wafsamba: Add install argument to SAMBA_PYTHON
This allows building Python modules that are only used for testing. Signed-off-by: Petr Viktorin <pviktori@redhat.com> Reviewed-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_python.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_python.py b/buildtools/wafsamba/samba_python.py
index 1ec2f7b7fcc..a371b434a78 100644
--- a/buildtools/wafsamba/samba_python.py
+++ b/buildtools/wafsamba/samba_python.py
@@ -34,6 +34,7 @@ def SAMBA_PYTHON(bld, name,
init_function_sentinel=None,
local_include=True,
vars=None,
+ install=True,
enabled=True):
'''build a python extension for Samba'''
@@ -64,6 +65,7 @@ def SAMBA_PYTHON(bld, name,
install_path='${PYTHONARCHDIR}',
allow_undefined_symbols=True,
allow_warnings=True,
+ install=install,
enabled=enabled)
Build.BuildContext.SAMBA_PYTHON = SAMBA_PYTHON