From 9e238d385d34bdbc09d2643fd2a1575886e024b3 Mon Sep 17 00:00:00 2001 From: Michel Selten Date: Sat, 21 Feb 2004 15:13:15 +0000 Subject: 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. --- source/gameengine/Expressions/SConscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/gameengine/Expressions/SConscript') 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) -- cgit v1.2.3