st/xorg: Fix SCons build.
authorMichel Dänzer <daenzer@vmware.com>
Tue, 11 May 2010 14:02:42 +0000 (16:02 +0200)
committerMichel Dänzer <daenzer@vmware.com>
Tue, 11 May 2010 14:02:42 +0000 (16:02 +0200)
src/gallium/state_trackers/xorg/SConscript

index 5d0b6613ac75e02f3180f76a5004416a105adf2f..0b598dab6e3f1634fc4c170fc9deb9e20923536f 100644 (file)
@@ -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',