scons: Add imports.c to builtin_compiler build.
Fixes build regression introduced by commit
eac030e38e
.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59835
This commit is contained in:
parent
0974031f88
commit
07e215f4ec
|
@ -59,6 +59,7 @@ else:
|
||||||
# Copy these files to avoid generation object files into src/mesa/program
|
# Copy these files to avoid generation object files into src/mesa/program
|
||||||
env.Prepend(CPPPATH = ['#src/mesa/main'])
|
env.Prepend(CPPPATH = ['#src/mesa/main'])
|
||||||
env.Command('hash_table.c', '#src/mesa/main/hash_table.c', Copy('$TARGET', '$SOURCE'))
|
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
|
# Copy these files to avoid generation object files into src/mesa/program
|
||||||
env.Prepend(CPPPATH = ['#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'))
|
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([
|
mesa_objs = env.StaticObject([
|
||||||
'hash_table.c',
|
'hash_table.c',
|
||||||
|
'imports.c',
|
||||||
'prog_hash_table.c',
|
'prog_hash_table.c',
|
||||||
'symbol_table.c',
|
'symbol_table.c',
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue