From 92a051ef2fffe7e141531a15c0a8b39cb26e0908 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 9 Apr 2010 21:24:59 +1000 Subject: s4-waf: only enable the python uuid module if python <= 2.4 --- source4/scripting/python/wscript_build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/scripting') 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 ) -- cgit