From 235225ec935002b4669d14a48c9c20864a5496f8 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 30 Jun 2011 17:36:37 +0100 Subject: scons: Expose pkg-config in a simpler manner. --- src/gallium/drivers/r600/SConscript | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/r600/SConscript b/src/gallium/drivers/r600/SConscript index 0135808f10a..19f07b2bef8 100644 --- a/src/gallium/drivers/r600/SConscript +++ b/src/gallium/drivers/r600/SConscript @@ -2,11 +2,7 @@ Import('*') env = env.Clone() -try: - env.ParseConfig('pkg-config --cflags libdrm_radeon') -except OSError: - print 'warning: not building r600' - Return() +env.PkgUseModules('DRM_RADEON') env.Append(CPPPATH = [ '#/include', -- cgit v1.2.3