From ce8469abeb8d48d84a77f3ddd1664d9f98d7d620 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 11 Dec 2008 14:42:25 +0900 Subject: [PATCH] gdi: Cleanup sconsfile. --- src/gallium/winsys/gdi/SConscript | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/gallium/winsys/gdi/SConscript b/src/gallium/winsys/gdi/SConscript index b463fa6505d..fdcdde101ac 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, -- 2.30.2