summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/gdi/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/gdi/SConscript')
-rw-r--r--src/gallium/winsys/gdi/SConscript8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/winsys/gdi/SConscript b/src/gallium/winsys/gdi/SConscript
index 4b32aa27e17..0a3f141e720 100644
--- a/src/gallium/winsys/gdi/SConscript
+++ b/src/gallium/winsys/gdi/SConscript
@@ -18,17 +18,19 @@ if env['platform'] == 'windows':
'ws2_32',
])
- sources = ['gdi_sw_winsys.c']
+ sources = []
drivers = []
if 'softpipe' in env['drivers']:
- sources = ['gdi_softpipe_winsys.c']
+ sources = ['gdi_sw_winsys.c',
+ 'gdi_softpipe_winsys.c']
drivers = [softpipe]
if 'llvmpipe' in env['drivers']:
env.Tool('llvm')
if 'LLVM_VERSION' in env:
- sources = ['gdi_llvmpipe_winsys.c']
+ sources = ['gdi_sw_winsys.c',
+ 'gdi_llvmpipe_winsys.c']
drivers = [llvmpipe]
if not sources or not drivers: