scons: Link expat in dri builds.
authorVinson Lee <vlee@vmware.com>
Tue, 6 Apr 2010 01:13:09 +0000 (18:13 -0700)
committerVinson Lee <vlee@vmware.com>
Tue, 6 Apr 2010 01:13:09 +0000 (18:13 -0700)
Fixes this i915g error.
i915_dri.so: undefined symbol: XML_ParserCreate

src/gallium/targets/SConscript.dri

index 210af13720a7bf4c6d0de13e873dab6520bd32ed..28fbe02ab8d57092c3bc3d4e3044ae86d5daaedf 100644 (file)
@@ -65,6 +65,10 @@ COMMON_DRI_DRM_OBJECTS = [
        dri_common_dri_util,
 ]
 
+drienv.AppendUnique(LIBS = [
+    'expat',
+])
+
 Export([
        'drienv',
        'COMMON_DRI_SW_OBJECTS',