summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-12-11 14:42:25 +0900
committerJosé Fonseca <jfonseca@vmware.com>2008-12-22 19:27:36 +0000
commitce8469abeb8d48d84a77f3ddd1664d9f98d7d620 (patch)
tree2f9ae2a2fae9d4f463adbfe6639f493bdb2810c7 /src/gallium
parent58a82ee57f1e1e67387dd860ac253223db250789 (diff)
gdi: Cleanup sconsfile.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/gdi/SConscript14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/gallium/winsys/gdi/SConscript b/src/gallium/winsys/gdi/SConscript
index b463fa6505..fdcdde101a 100644
--- a/src/gallium/winsys/gdi/SConscript
+++ b/src/gallium/winsys/gdi/SConscript
@@ -12,6 +12,15 @@ if env['platform'] == 'windows':
])
env.Append(CPPDEFINES = [
+ '__GL_EXPORTS',
+ 'BUILD_GL32',
+ '_GNU_H_WINDOWS32_DEFINES',
+ ])
+
+ env.Append(LIBS = [
+ 'gdi32',
+ 'user32',ss
+ 'kernel32',
])
sources = [
@@ -23,11 +32,6 @@ if env['platform'] == 'windows':
softpipe,
]
- env.Append(LIBS = [
- 'gdi32',
- 'user32'
- ])
-
env.SharedLibrary(
target ='opengl32',
source = sources,