aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/SConscript.glsl
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2019-11-21 11:18:54 +1100
committerTimothy Arceri <[email protected]>2019-11-21 16:07:08 +1100
commitcd6322366df3a910ca66b47e4383ca46825e5539 (patch)
tree0cb8a82e631acb9dd357a000c88a34ee11e4c6a2 /src/compiler/SConscript.glsl
parent5934a53bfe39e8b59c82d643ff1f3477663e8aca (diff)
compiler: move build definition of pp_standalone_scaffolding.c
This should fix android build issues while still allowing scons to build the standalone compiler. Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2129 Reviewed-by: Mark Janes <[email protected]>
Diffstat (limited to 'src/compiler/SConscript.glsl')
-rw-r--r--src/compiler/SConscript.glsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/SConscript.glsl b/src/compiler/SConscript.glsl
index 45ddde8efc9..7de4ff8c45a 100644
--- a/src/compiler/SConscript.glsl
+++ b/src/compiler/SConscript.glsl
@@ -63,6 +63,8 @@ source_lists = env.ParseSourceList('Makefile.sources')
for l in ('LIBGLCPP_FILES', 'LIBGLSL_FILES'):
glsl_sources += source_lists[l]
+glsl_sources += env.StaticObject("glsl/glcpp/pp_standalone_scaffolding.c")
+
if env['msvc']:
env.Prepend(CPPPATH = ['#/src/getopt'])
env.PrependUnique(LIBS = [getopt])