Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2013-02-25 16:03:55 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2013-02-25 16:03:55 +0400
commit04c1a7f1bcc33a03f83701ef8bb0a1f0c193a38b (patch)
tree055a64632ec9bd7e4566fd21d0326ba685dbf853 /source/gameengine
parent282e5caecfb5c9151e34f18540f3809ac48ef4e5 (diff)
Check if the variable is a string and split nicely, so compile command stays intact with proper include options.
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/Rasterizer/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/gameengine/Rasterizer/SConscript b/source/gameengine/Rasterizer/SConscript
index 4ff79d9ce24..3e7dacad8ba 100644
--- a/source/gameengine/Rasterizer/SConscript
+++ b/source/gameengine/Rasterizer/SConscript
@@ -47,7 +47,10 @@ incs = [
defs = ['GLEW_STATIC']
if env['WITH_BF_PYTHON']:
- incs.append(env['BF_PYTHON_INC'])
+ if type(env['BF_PYTHON_INC']) == str:
+ incs.append(env['BF_PYTHON_INC'].split(' '))
+ else:
+ incs.append(env['BF_PYTHON_INC'])
defs.append('WITH_PYTHON')
if env['WITH_BF_CXX_GUARDEDALLOC']: