mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
st/xorg: Fix SCons build.
Check for new DPMS header and add xorg_renderer.c source file.
This commit is contained in:
parent
413e933fd5
commit
5e17c89ead
1 changed files with 6 additions and 0 deletions
|
|
@ -13,6 +13,11 @@ if 'xorg' in env['statetrackers']:
|
|||
|
||||
env.ParseConfig('pkg-config --cflags --libs xorg-server')
|
||||
|
||||
conf = env.Configure()
|
||||
|
||||
if conf.CheckHeader('X11/extensions/dpmsconst.h'):
|
||||
env.Append(CPPDEFINES = [('HAVE_XEXTPROTO_71', '1')])
|
||||
|
||||
st_xorg = env.ConvenienceLibrary(
|
||||
target = 'st_xorg',
|
||||
source = [ 'xorg_composite.c',
|
||||
|
|
@ -22,6 +27,7 @@ if 'xorg' in env['statetrackers']:
|
|||
'xorg_exa.c',
|
||||
'xorg_exa_tgsi.c',
|
||||
'xorg_output.c',
|
||||
'xorg_renderer.c',
|
||||
'xorg_xv.c',
|
||||
]
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue