summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/python/SConscript
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-07-16 11:19:06 +0100
committerJosé Fonseca <[email protected]>2009-07-16 11:22:56 +0100
commit3ab3209a1f1af7bfd8e09598fbc3586f35169fb2 (patch)
tree8362262eaf5bc2917ae31a8c7251775b99dcd7de /src/gallium/state_trackers/python/SConscript
parent6b7b13b5ebcebdca38264d165a95fd22887b90c7 (diff)
python: Obtain pipe_screen/pipe_context from the system's OpenGL driver.
Diffstat (limited to 'src/gallium/state_trackers/python/SConscript')
-rw-r--r--src/gallium/state_trackers/python/SConscript13
1 files changed, 13 insertions, 0 deletions
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 = [