diff options
author | José Fonseca <[email protected]> | 2011-06-30 17:36:37 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2011-06-30 17:36:37 +0100 |
commit | 235225ec935002b4669d14a48c9c20864a5496f8 (patch) | |
tree | 5c86cb6b91f65605a6e5d1a4c727a35f96516664 /src/gallium/drivers/r600/SConscript | |
parent | 2699fce0d69db5158427c8b6c8194b2eefc5e58b (diff) |
scons: Expose pkg-config in a simpler manner.
Diffstat (limited to 'src/gallium/drivers/r600/SConscript')
-rw-r--r-- | src/gallium/drivers/r600/SConscript | 6 |
1 files changed, 1 insertions, 5 deletions
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', |