st/dri: Don't check for null when user ensures non-null
[mesa.git] / src / gallium / targets / dri-radeong / SConscript
1 Import('*')
2
3 if not 'r300' in env['drivers']:
4 print 'warning: r300 pipe driver not built skipping radeong_dri.so'
5 Return()
6
7 env = drienv.Clone()
8
9 env.ParseConfig('pkg-config --cflags --libs libdrm_radeon')
10
11 env.Prepend(LIBS = [
12 st_dri,
13 radeonwinsys,
14 r300,
15 trace,
16 mesa,
17 glsl,
18 gallium,
19 COMMON_DRI_DRM_OBJECTS
20 ])
21
22 env.SharedLibrary(
23 target ='radeon_dri.so',
24 source = 'dummy.c',
25 SHLIBPREFIX = '',
26 )