summaryrefslogtreecommitdiff
path: root/auth/credentials
diff options
context:
space:
mode:
authorLumir Balhar <lbalhar@redhat.com>2016-12-10 15:01:17 +0100
committerAndrew Bartlett <abartlet@samba.org>2017-03-10 07:31:11 +0100
commitfe8bba5f8174b81eb4fe660f3250b9222498f9b7 (patch)
tree93c3043dc427ed53d9612bad7fee4bf79e86a33a /auth/credentials
parent6fa125e121c1216d89d8bafd7da894d49c1d6527 (diff)
downloadsamba-fe8bba5f8174b81eb4fe660f3250b9222498f9b7.tar.gz
python: wscript_build: Build some modules for Python 3
Update a few wscript_build files to build Python 3-compatible modules for Python 3. Signed-off-by: Lumir Balhar <lbalhar@redhat.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'auth/credentials')
-rw-r--r--auth/credentials/wscript_build12
1 files changed, 6 insertions, 6 deletions
diff --git a/auth/credentials/wscript_build b/auth/credentials/wscript_build
index 009f5ecb6b6..30c0f727832 100644
--- a/auth/credentials/wscript_build
+++ b/auth/credentials/wscript_build
@@ -24,9 +24,9 @@ bld.SAMBA_SUBSYSTEM('CREDENTIALS_NTLM',
source='credentials_ntlm.c',
deps='samba-credentials')
-bld.SAMBA_PYTHON('pycredentials',
- source='pycredentials.c',
- public_deps='samba-credentials cmdline-credentials pytalloc-util pyparam_util CREDENTIALS_KRB5 CREDENTIALS_SECRETS',
- realname='samba/credentials.so'
- )
-
+for env in bld.gen_python_environments():
+ bld.SAMBA_PYTHON('pycredentials',
+ source='pycredentials.c',
+ public_deps='samba-credentials cmdline-credentials pytalloc-util pyparam_util CREDENTIALS_KRB5 CREDENTIALS_SECRETS',
+ realname='samba/credentials.so'
+ )