Mesa (master): scons: Avoid depending on scons 2.0 in general.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Wed Feb 16 18:20:17 UTC 2011
Module: Mesa
Branch: master
Commit: 9f9d6481ded31d33ae62a53f6eaeeef27a8f0ca4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f9d6481ded31d33ae62a53f6eaeeef27a8f0ca4
Author: José Fonseca <jfonseca at vmware.com>
Date: Tue Feb 15 15:31:19 2011 +0000
scons: Avoid depending on scons 2.0 in general.
---
SConstruct | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/SConstruct b/SConstruct
index 96dc09a..8607d2c 100644
--- a/SConstruct
+++ b/SConstruct
@@ -153,7 +153,9 @@ if env['crosscompile'] and env['platform'] != 'embedded':
if host_env['msvc']:
host_env.Append(CPPPATH = ['#include/c99'])
- Export(env = host_env)
+ target_env = env
+ env = host_env
+ Export('env')
SConscript(
'src/SConscript',
@@ -161,6 +163,8 @@ if env['crosscompile'] and env['platform'] != 'embedded':
duplicate = 0, # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html
)
+ env = target_env
+
Export('env')
#######################################################################
More information about the mesa-commit
mailing list