From 4b5d488bc22f9938e8b7da2c2c44459420595e1b Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Mon, 5 Apr 2010 18:13:09 -0700 Subject: [PATCH] scons: Link expat in dri builds. Fixes this i915g error. i915_dri.so: undefined symbol: XML_ParserCreate --- src/gallium/targets/SConscript.dri | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/targets/SConscript.dri b/src/gallium/targets/SConscript.dri index 210af13720a..28fbe02ab8d 100644 --- a/src/gallium/targets/SConscript.dri +++ b/src/gallium/targets/SConscript.dri @@ -65,6 +65,10 @@ COMMON_DRI_DRM_OBJECTS = [ dri_common_dri_util, ] +drienv.AppendUnique(LIBS = [ + 'expat', +]) + Export([ 'drienv', 'COMMON_DRI_SW_OBJECTS', -- 2.30.2