diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2009-01-12 19:55:46 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2009-01-12 19:55:46 +0300 |
commit | 4cc7971c151c383e900a1bf6365cef1f691b14b0 (patch) | |
tree | 92b0627d7603d759d0daa1e13362d191523268f5 /source/blender/editors/object/SConscript | |
parent | 415b9d2e84505d06f6197a5282fc3782bf38fdc6 (diff) |
2.5 / SCons
- make sure WITH_BF_PYTHON=False is respected.
Diffstat (limited to 'source/blender/editors/object/SConscript')
-rw-r--r-- | source/blender/editors/object/SConscript | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/editors/object/SConscript b/source/blender/editors/object/SConscript index 7b50c481527..5cd7a3b91af 100644 --- a/source/blender/editors/object/SConscript +++ b/source/blender/editors/object/SConscript @@ -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] ) |