targets/egl-static: Fix some missing symbols.
authorJosé Fonseca <jfonseca@vmware.com>
Sat, 12 May 2012 16:00:11 +0000 (17:00 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 12 May 2012 16:10:32 +0000 (17:10 +0100)
src/gallium/targets/egl-static/SConscript

index e657e9f2ff5bf822e6e90fc1946791c7a09afb96..1c7ddd418428253222d74e7efaa31a232f32dc2b 100644 (file)
@@ -90,6 +90,7 @@ if env['HAVE_DRM']:
     env.PkgUseModules('DRM')
 
     if env['HAVE_DRM_INTEL']:
+        env.PkgUseModules('DRM_INTEL')
         env.Append(CPPDEFINES = ['_EGL_PIPE_I915'])
         env.Prepend(LIBS = [
             i915drm,
@@ -98,6 +99,7 @@ if env['HAVE_DRM']:
         ])
 
     if env['HAVE_DRM_RADEON']:
+        env.PkgUseModules('DRM_RADEON')
         env.Append(CPPDEFINES = ['_EGL_PIPE_R300', '_EGL_PIPE_R600'])
         env.Prepend(LIBS = [
             radeonwinsys,