summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon/drm/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/radeon/drm/SConscript')
-rw-r--r--src/gallium/winsys/radeon/drm/SConscript6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/winsys/radeon/drm/SConscript b/src/gallium/winsys/radeon/drm/SConscript
index 39a8c711b84..2edb1e94645 100644
--- a/src/gallium/winsys/radeon/drm/SConscript
+++ b/src/gallium/winsys/radeon/drm/SConscript
@@ -8,11 +8,7 @@ radeon_sources = [
'radeon_drm_winsys.c',
]
-try:
- env.ParseConfig('pkg-config --cflags libdrm')
-except:
- print 'warning: not building Gallium Radeon'
- Return()
+env.PkgUseModules('DRM')
radeonwinsys = env.ConvenienceLibrary(
target ='radeonwinsys',