Fix for the first error in the Windows scons build system. Now, I'm stuck on a package checking error (line 216), and I don't know the correct way to fix it. Any help?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2596 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Marcus Wanners 2009-03-07 12:33:26 +00:00
parent 7860ef4532
commit 91acd10fe6

View File

@ -87,6 +87,11 @@ if sys.platform == 'darwin':
builders['Plist'] = Builder(action = createPlist)
compileFlags += [ '-I/opt/local/include' ]
if sys.platform == 'win32':
env_home = os.environ['USERPROFILE']
else:
env_home = os.environ['HOME']
lib_paths = include_paths
# handle command line options
@ -122,7 +127,7 @@ env = Environment(
variables = vars,
ENV = {
'PATH' : os.environ['PATH'],
'HOME' : os.environ['HOME']
'HOME' : env_home
},
BUILDERS = builders,
DESCRIPTION = description,