From: José Fonseca Date: Thu, 11 Dec 2008 05:42:25 +0000 (+0900) Subject: gdi: Cleanup sconsfile. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce8469abeb8d48d84a77f3ddd1664d9f98d7d620;p=mesa.git gdi: Cleanup sconsfile. --- 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,