scons: Fix drm/intel build.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 11 Feb 2010 11:51:32 +0000 (11:51 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 11 Feb 2010 11:51:32 +0000 (11:51 +0000)
src/gallium/winsys/drm/intel/dri/SConscript

index 104e987083f4b290850a31652c8f494f6afbed4d..0df841d879866304144a67bcc0108f9407ce7a04 100644 (file)
@@ -4,17 +4,18 @@ env = drienv.Clone()
 
 env.ParseConfig('pkg-config --cflags --libs libdrm_intel')
 
-drivers = [
+env.Prepend(LIBS = [
     st_dri,
     inteldrm,
-    softpipe,
     i915,
     trace,
-]
+    mesa,
+    glsl,
+    gallium
+])
 
 env.LoadableModule(
     target ='i915_dri.so',
     source = COMMON_GALLIUM_SOURCES,
-    LIBS = drivers + mesa + gallium + env['LIBS'],
     SHLIBPREFIX = '',
 )