summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2010-05-11 16:02:42 +0200
committerMichel Dänzer <[email protected]>2010-05-11 16:02:42 +0200
commit1f6648418dd8194ba7c3333f0b493ebaa0b941ec (patch)
tree1b3b408f88b3ff237782e5a57f5f6eef04aefcd3
parentb0427bedde80e3189524651a327235bdfddbc613 (diff)
st/xorg: Fix SCons build.
-rw-r--r--src/gallium/state_trackers/xorg/SConscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/SConscript b/src/gallium/state_trackers/xorg/SConscript
index 5d0b6613ac7..0b598dab6e3 100644
--- a/src/gallium/state_trackers/xorg/SConscript
+++ b/src/gallium/state_trackers/xorg/SConscript
@@ -11,13 +11,15 @@ if 'xorg' in env['statetrackers']:
'#/src/mesa',
])
- env.ParseConfig('pkg-config --cflags --libs xorg-server')
+ env.ParseConfig('pkg-config --cflags --libs libdrm xorg-server')
conf = env.Configure()
if conf.CheckHeader('X11/extensions/dpmsconst.h'):
env.Append(CPPDEFINES = [('HAVE_XEXTPROTO_71', '1')])
+ conf.Finish()
+
st_xorg = env.ConvenienceLibrary(
target = 'st_xorg',
source = [ 'xorg_composite.c',