scons: Add imports.c to builtin_compiler build.
authorVinson Lee <vlee@freedesktop.org>
Fri, 25 Jan 2013 06:36:27 +0000 (22:36 -0800)
committerVinson Lee <vlee@freedesktop.org>
Fri, 25 Jan 2013 06:36:27 +0000 (22:36 -0800)
Fixes build regression introduced by commit
eac030e38e3cdd4ed4534516e3d3a50c8a372719.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59835

src/glsl/SConscript

index 6981f041b39f0f687591c37f6e2ca2f81030082e..c4ab97c1e0889e7826c5f2516f76e9aa6eae6481 100644 (file)
@@ -59,6 +59,7 @@ else:
     # Copy these files to avoid generation object files into src/mesa/program
     env.Prepend(CPPPATH = ['#src/mesa/main'])
     env.Command('hash_table.c', '#src/mesa/main/hash_table.c', Copy('$TARGET', '$SOURCE'))
+    env.Command('imports.c', '#src/mesa/main/imports.c', Copy('$TARGET', '$SOURCE'))
     # Copy these files to avoid generation object files into src/mesa/program
     env.Prepend(CPPPATH = ['#src/mesa/program'])
     env.Command('prog_hash_table.c', '#src/mesa/program/prog_hash_table.c', Copy('$TARGET', '$SOURCE'))
@@ -68,6 +69,7 @@ else:
 
     mesa_objs = env.StaticObject([
         'hash_table.c',
+        'imports.c',
         'prog_hash_table.c',
         'symbol_table.c',
     ])