gdi: Cleanup sconsfile.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 11 Dec 2008 05:42:25 +0000 (14:42 +0900)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 22 Dec 2008 19:27:36 +0000 (19:27 +0000)
src/gallium/winsys/gdi/SConscript

index b463fa6505d53fe5cdbb925c28b0138d33cc07b6..fdcdde101ac34fc0cb1bdc229b4a263726b3218e 100644 (file)
@@ -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,