summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/libgl-gdi/SConscript
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2015-10-19 14:29:28 +0100
committerJose Fonseca <[email protected]>2015-10-19 15:59:59 +0100
commitb23a4859f4dbbcca7d6a637010167d470211e45b (patch)
tree6e47c0a14c1766befc7c051a1e69a5d2700e4a92 /src/gallium/targets/libgl-gdi/SConscript
parent530eb39c71d2f42ef5d6c556aff77c322434f4e2 (diff)
scons: Build nir/glsl_types.cpp once.
Undoes early hacks, and ensures nir/glsl_types.cpp is built once, and only once. The root problem is that SCons doesn't know about NIR nor any source file in the NIR_FILES source list. Tested with libgl-gdi and libgl-xlib scons targets. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/targets/libgl-gdi/SConscript')
-rw-r--r--src/gallium/targets/libgl-gdi/SConscript10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/gallium/targets/libgl-gdi/SConscript b/src/gallium/targets/libgl-gdi/SConscript
index eb777a86cb2..594f34d7fad 100644
--- a/src/gallium/targets/libgl-gdi/SConscript
+++ b/src/gallium/targets/libgl-gdi/SConscript
@@ -7,10 +7,6 @@ env = env.Clone()
env.Append(CPPPATH = [
'#src',
- '#src/mesa',
- '#src/mapi',
- '#src/glsl',
- '#src/glsl/nir',
'#src/gallium/state_trackers/wgl',
'#src/gallium/winsys/sw',
])
@@ -24,11 +20,7 @@ env.Append(LIBS = [
env.Prepend(LIBS = [mesautil])
-sources = [
- 'libgl_gdi.c',
- 'glsl_types_hack.cpp'
-]
-
+sources = ['libgl_gdi.c']
drivers = []
if True: