From 9fc93b80413d63aeb08b5a17602d111ed3899faf Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sat, 10 Apr 2010 02:00:33 +0100 Subject: scons: Use libdrm options only where needed. Prevents needless recompiles when switching dri=yes to no. --- SConstruct | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 56d88cc1cc..8b7ae7d112 100644 --- a/SConstruct +++ b/SConstruct @@ -167,16 +167,6 @@ if platform in ('posix', 'linux', 'freebsd', 'darwin'): 'dl', ]) -# DRI -if dri: - env.ParseConfig('pkg-config --cflags --libs libdrm') - env.Append(CPPDEFINES = [ - ('USE_EXTERNAL_DXTN_LIB', '1'), - 'IN_DRI_DRIVER', - 'GLX_DIRECT_RENDERING', - 'GLX_INDIRECT_RENDERING', - ]) - # LLVM support in the Draw module if drawllvm: env.Append(CPPDEFINES = ['DRAW_LLVM']) -- cgit v1.2.3