diff options
author | José Fonseca <[email protected]> | 2011-06-17 14:48:28 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2011-06-17 14:50:37 +0100 |
commit | 41750107496858a047afa8d81d20fe903f285a78 (patch) | |
tree | ae050f8f2788a0aab8713bc3f7b83b62cf9d7588 /src/glsl | |
parent | fc8c4a3a7b92a1134cd3a9312063abba9e14b0fe (diff) |
scons: make embedding orthogonal to the platform
To enable embedding in platforms other than linux.
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/SConscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/SConscript b/src/glsl/SConscript index c3255835fb4..1441cc74bd8 100644 --- a/src/glsl/SConscript +++ b/src/glsl/SConscript @@ -102,7 +102,7 @@ if env['msvc']: env.Prepend(CPPPATH = ['#/src/getopt']) env.PrependUnique(LIBS = [getopt]) -if env['crosscompile'] and env['platform'] != 'embedded': +if env['crosscompile'] and not env['embedded']: Import('builtin_glsl_function') else: # Copy these files to avoid generation object files into src/mesa/program @@ -156,7 +156,7 @@ Export('glsl') # Skip building these programs as they will cause SCons error "Two environments # with different actions were specified for the same target" -if env['crosscompile'] or env['platform'] == 'embedded': +if env['crosscompile'] or env['embedded']: Return() env = env.Clone() |