error in DISABLE_PYTHON defines
authorCampbell Barton <ideasman42@gmail.com>
Tue, 28 Oct 2008 20:19:25 +0000 (20:19 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 28 Oct 2008 20:19:25 +0000 (20:19 +0000)
source/blender/blenkernel/SConscript

index 8714023c645ecfcc94f0e923b01364214f19472d..9b7e6736033ae55f375501fffb92d6ef0a0f4aec 100644 (file)
@@ -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] )