summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/libgl-gdi/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/libgl-gdi/SConscript')
-rw-r--r--src/gallium/targets/libgl-gdi/SConscript9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gallium/targets/libgl-gdi/SConscript b/src/gallium/targets/libgl-gdi/SConscript
index 339238756ab..6fa0851a1ab 100644
--- a/src/gallium/targets/libgl-gdi/SConscript
+++ b/src/gallium/targets/libgl-gdi/SConscript
@@ -18,16 +18,15 @@ env.Append(LIBS = [
talloc,
])
-sources = []
+sources = ['libgl_gdi.c']
drivers = []
if True:
- sources = ['gdi_softpipe_winsys.c']
- drivers = [softpipe]
+ drivers += [softpipe]
if env['llvm']:
- sources = ['gdi_llvmpipe_winsys.c']
- drivers = [llvmpipe]
+ env.Append(CPPDEFINES = 'HAVE_LLVMPIPE')
+ drivers += [llvmpipe]
if env['gcc']:
sources += ['#src/gallium/state_trackers/wgl/opengl32.mingw.def']