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:
authorMichel Selten <michel@mselten.demon.nl>2004-02-21 18:13:15 +0300
committerMichel Selten <michel@mselten.demon.nl>2004-02-21 18:13:15 +0300
commit9e238d385d34bdbc09d2643fd2a1575886e024b3 (patch)
tree21238f7650ee8a1a52444036c99d93786f7fb274 /source/gameengine/Expressions/SConscript
parent05bff7f93823d484ca237340a5b6af546a7e99c3 (diff)
SCons updates
* Almost all library settings are now available in the config.opts user option file. * All platform variables had to be updated to make this possible. Things are much clearer now, but I only was able to test the changes on Linux. I've tried to update all other platform variables, but things are most likely to be broken. Please contact me how to resolve the issues. Note: Before running scons, remove your existing config.opts file to get all new options.
Diffstat (limited to 'source/gameengine/Expressions/SConscript')
-rwxr-xr-xsource/gameengine/Expressions/SConscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/Expressions/SConscript b/source/gameengine/Expressions/SConscript
index 5a5205bd3bc..4ee0e322cc5 100755
--- a/source/gameengine/Expressions/SConscript
+++ b/source/gameengine/Expressions/SConscript
@@ -4,7 +4,6 @@ expressions_env = Environment()
Import ('cflags')
Import ('cxxflags')
Import ('defines')
-Import ('python_include')
Import ('user_options_dict')
expressions_env.Append (CCFLAGS = cflags)
expressions_env.Append (CXXFLAGS = cxxflags)
@@ -32,7 +31,8 @@ source_files = ['BoolValue.cpp',
expressions_env.Append (CPPPATH = ['.',
'#source/kernel/gen_system',
- '#intern/string',
- python_include])
+ '#intern/string'])
+
+expressions_env.Append (CPPPATH = user_options_dict['PYTHON_INCLUDE'])
expressions_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_expressions', source=source_files)