Module: Mesa
Branch: gallium-0.2
Commit: ce8469abeb8d48d84a77f3ddd1664d9f98d7d620
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce8469abeb8d48d84a77f3ddd1664d9f98d7d620

Author: José Fonseca <jrfons...@tungstengraphics.com>
Date:   Thu Dec 11 14:42:25 2008 +0900

gdi: Cleanup sconsfile.

---

 src/gallium/winsys/gdi/SConscript |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/gallium/winsys/gdi/SConscript 
b/src/gallium/winsys/gdi/SConscript
index b463fa6..fdcdde1 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,

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to