st/egl: Fix scons build
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Thu, 23 Jun 2011 20:23:57 +0000 (22:23 +0200)
committerBenjamin Franzke <benjaminfranzke@googlemail.com>
Thu, 23 Jun 2011 20:23:57 +0000 (22:23 +0200)
src/gallium/state_trackers/egl/SConscript

index 9ade76ecbb20fa6e3f2288d32997a02163652fb9..f795fe00620275e0ecb6a66ac3f907756716e1c3 100644 (file)
@@ -41,6 +41,10 @@ else:
             sources.append(['#/src/glx/dri2.c'])
     if env['drm']:
         env.Append(CPPDEFINES = ['HAVE_DRM_BACKEND'])
+        env.Append(CPPPATH = [
+            '#/src/gbm/main',
+            '#/src/gallium/state_trackers/gbm',
+        ])
         sources.append(['drm/native_drm.c', 'drm/modeset.c'])
 
 st_egl = env.ConvenienceLibrary(