summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-12-31 17:58:56 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-01-01 11:00:58 +0000
commit97e2c5ac0bba7298c9a32703fe3d19de1f7b815a (patch)
tree655c923defd9055cfc51716a4575ad6a7285bd49 /SConstruct
parent700a2ebbf1ce0737ffdc3c9f08415dcf59550465 (diff)
scons: Expose convienience libraries to the host environment.
This fixes MinGW cross compilation build, recently broken due to the use of convenience libraries in the GLSL preprocessor.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 8e063e28078..0a545d5c922 100644
--- a/SConstruct
+++ b/SConstruct
@@ -166,11 +166,14 @@ if env['platform'] != common.default_platform:
host_env = Environment(
# options are ignored
# default tool is used
+ tools = ['default', 'custom'],
toolpath = ['#scons'],
ENV = os.environ,
)
host_env['platform'] = common.default_platform
+ host_env['machine'] = common.default_machine
+ host_env['debug'] = env['debug']
SConscript(
'src/glsl/SConscript',