From 3ab3209a1f1af7bfd8e09598fbc3586f35169fb2 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 16 Jul 2009 11:19:06 +0100 Subject: python: Obtain pipe_screen/pipe_context from the system's OpenGL driver. --- src/gallium/state_trackers/python/SConscript | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/gallium/state_trackers/python/SConscript') diff --git a/src/gallium/state_trackers/python/SConscript b/src/gallium/state_trackers/python/SConscript index 1581182aec2..ec385e7c447 100644 --- a/src/gallium/state_trackers/python/SConscript +++ b/src/gallium/state_trackers/python/SConscript @@ -15,6 +15,19 @@ if 'python' in env['statetrackers']: env.Append(CPPPATH = '.') + if env['platform'] == 'windows': + env.Append(LIBS = [ + 'opengl32', + 'gdi32', + 'user32', + 'kernel32', + ]) + else: + env.Append(LIBS = [ + 'GL', + 'X11', + ]) + pyst = env.ConvenienceLibrary( target = 'pyst', source = [ -- cgit v1.2.3