2.5 / SCons
authorNathan Letwory <nathan@letworyinteractive.com>
Mon, 12 Jan 2009 16:55:46 +0000 (16:55 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Mon, 12 Jan 2009 16:55:46 +0000 (16:55 +0000)
- make sure WITH_BF_PYTHON=False is respected.

source/blender/editors/object/SConscript

index 7b50c481527ca582db7889c6e037bea5020c87fb..5cd7a3b91af6482613f6f40b866565b91dc9ace4 100644 (file)
@@ -8,4 +8,9 @@ incs += ' ../../windowmanager #/intern/guardedalloc'
 incs += ' #/intern/guardedalloc #intern/bmfont'
 incs += ' ../../makesrna ../../python'
 
-env.BlenderLib ( 'bf_editors_object', sources, Split(incs), [], libtype=['core'], priority=[35] )
+defs = []
+
+if not env['WITH_BF_PYTHON']:
+       defs.append('DISABLE_PYTHON')
+
+env.BlenderLib ( 'bf_editors_object', sources, Split(incs), defs, libtype=['core'], priority=[35] )