Commit d062d214 authored by Vinson Lee's avatar Vinson Lee

scons: Handle Python OSError exception when missing libdrm_radeon.

Instead of crashing when libdrm_radeon is unavailable, the SCons build
just does not build r600g.
parent 128190e4
......@@ -2,7 +2,11 @@ Import('*')
env = env.Clone()
env.ParseConfig('pkg-config --cflags libdrm_radeon')
env.ParseConfig('pkg-config --cflags libdrm_radeon')
except OSError:
print 'warning: not building r600'
env.Append(CPPPATH = [
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment