diff options
-rw-r--r-- | src/gallium/targets/egl-static/SConscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-static/SConscript b/src/gallium/targets/egl-static/SConscript index e657e9f2ff5..1c7ddd41842 100644 --- a/src/gallium/targets/egl-static/SConscript +++ b/src/gallium/targets/egl-static/SConscript @@ -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, |