From 07a1971ced434d5adcd290f2cf07ec467fedb6cb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 28 Oct 2008 20:19:25 +0000 Subject: [PATCH] error in DISABLE_PYTHON defines --- source/blender/blenkernel/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/blenkernel/SConscript b/source/blender/blenkernel/SConscript index 8714023c645..9b7e6736033 100644 --- a/source/blender/blenkernel/SConscript +++ b/source/blender/blenkernel/SConscript @@ -52,7 +52,7 @@ if env['BF_NO_ELBEEM']: if env['WITH_BF_PLAYER']: SConscript(['bad_level_call_stubs/SConscript']) -if env['WITH_BF_PYTHON']: - defs += 'DISABLE_PYTHON' +if not env['WITH_BF_PYTHON']: + defs += ' DISABLE_PYTHON' env.BlenderLib ( libname = 'bf_blenkernel', sources = sources, includes = Split(incs), defines = Split(defs), libtype=['core','player'], priority = [65, 20] )