From 183b6437744f69bbeadf503f791f763f3c7c4a6f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 19 May 2015 11:34:52 +1000 Subject: Building without Python works again --- source/blender/blenfont/SConscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/blender/blenfont/SConscript') diff --git a/source/blender/blenfont/SConscript b/source/blender/blenfont/SConscript index b6cf052a980..61d2ca9b12d 100644 --- a/source/blender/blenfont/SConscript +++ b/source/blender/blenfont/SConscript @@ -44,7 +44,6 @@ incs = [ '../imbuf', '../makesdna', '../makesrna', - '../python', ] incs.extend(Split(env['BF_FREETYPE_INC'])) @@ -57,6 +56,10 @@ if sys.platform == 'win32' or env['OURPLATFORM'] == 'linuxcross': if env['WITH_BF_INTERNATIONAL']: defs.append('WITH_INTERNATIONAL') +if env['WITH_BF_PYTHON']: + defs.append('WITH_PYTHON') + incs.append('../python') + if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): incs.append(env['BF_PTHREADS_INC']) -- cgit v1.2.3