summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-09 21:24:59 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-09 21:26:28 +1000
commit92a051ef2fffe7e141531a15c0a8b39cb26e0908 (patch)
tree202ed27f1783dba640a418f0ff5211bdb7b4a367 /source4/scripting/python
parenta10f024083b25f0b879e9ccd8f53ac370aa22a30 (diff)
downloadsamba-92a051ef2fffe7e141531a15c0a8b39cb26e0908.tar.gz
samba-92a051ef2fffe7e141531a15c0a8b39cb26e0908.tar.bz2
samba-92a051ef2fffe7e141531a15c0a8b39cb26e0908.zip
s4-waf: only enable the python uuid module if python <= 2.4
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/wscript_build3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/python/wscript_build b/source4/scripting/python/wscript_build
index 9c12ca7b4b..0709c426a7 100644
--- a/source4/scripting/python/wscript_build
+++ b/source4/scripting/python/wscript_build
@@ -17,7 +17,8 @@ bld.SAMBA_PYTHON('PYTALLOC',
bld.SAMBA_PYTHON('python_uuid',
source='uuidmodule.c',
deps='LIBNDR',
- realname='uuid.so'
+ realname='uuid.so',
+ enabled = float(bld.env.PYTHON_VERSION) <= 2.4
)