mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 15:35:27 +00:00
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:
parent
7860ef4532
commit
91acd10fe6
@ -87,6 +87,11 @@ if sys.platform == 'darwin':
|
|||||||
builders['Plist'] = Builder(action = createPlist)
|
builders['Plist'] = Builder(action = createPlist)
|
||||||
compileFlags += [ '-I/opt/local/include' ]
|
compileFlags += [ '-I/opt/local/include' ]
|
||||||
|
|
||||||
|
if sys.platform == 'win32':
|
||||||
|
env_home = os.environ['USERPROFILE']
|
||||||
|
else:
|
||||||
|
env_home = os.environ['HOME']
|
||||||
|
|
||||||
lib_paths = include_paths
|
lib_paths = include_paths
|
||||||
|
|
||||||
# handle command line options
|
# handle command line options
|
||||||
@ -122,7 +127,7 @@ env = Environment(
|
|||||||
variables = vars,
|
variables = vars,
|
||||||
ENV = {
|
ENV = {
|
||||||
'PATH' : os.environ['PATH'],
|
'PATH' : os.environ['PATH'],
|
||||||
'HOME' : os.environ['HOME']
|
'HOME' : env_home
|
||||||
},
|
},
|
||||||
BUILDERS = builders,
|
BUILDERS = builders,
|
||||||
DESCRIPTION = description,
|
DESCRIPTION = description,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user