summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/libgl-gdi/SConscript
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-10-17 10:02:04 -0600
committerBrian Paul <[email protected]>2015-10-17 10:06:49 -0600
commit3272f632eec768c79000836e9bc45b90229789e7 (patch)
treeae8f3fe33f0acfa821559701fc0b63e8b7cea403 /src/gallium/targets/libgl-gdi/SConscript
parent7e6aafd6ab89ad8bc113f67eb666a90b979cdb8e (diff)
scons: fix MSVC, MinGW build
Duplicate the glsl_types_hack.cpp work-around from the libgl-xlib target.
Diffstat (limited to 'src/gallium/targets/libgl-gdi/SConscript')
-rw-r--r--src/gallium/targets/libgl-gdi/SConscript10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gallium/targets/libgl-gdi/SConscript b/src/gallium/targets/libgl-gdi/SConscript
index 594f34d7fad..eb777a86cb2 100644
--- a/src/gallium/targets/libgl-gdi/SConscript
+++ b/src/gallium/targets/libgl-gdi/SConscript
@@ -7,6 +7,10 @@ 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',
])
@@ -20,7 +24,11 @@ env.Append(LIBS = [
env.Prepend(LIBS = [mesautil])
-sources = ['libgl_gdi.c']
+sources = [
+ 'libgl_gdi.c',
+ 'glsl_types_hack.cpp'
+]
+
drivers = []
if True: