mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
st/xorg: Fix SCons build.
This commit is contained in:
parent
b0427bedde
commit
1f6648418d
1 changed files with 3 additions and 1 deletions
|
|
@ -11,13 +11,15 @@ if 'xorg' in env['statetrackers']:
|
|||
'#/src/mesa',
|
||||
])
|
||||
|
||||
env.ParseConfig('pkg-config --cflags --libs xorg-server')
|
||||
env.ParseConfig('pkg-config --cflags --libs libdrm xorg-server')
|
||||
|
||||
conf = env.Configure()
|
||||
|
||||
if conf.CheckHeader('X11/extensions/dpmsconst.h'):
|
||||
env.Append(CPPDEFINES = [('HAVE_XEXTPROTO_71', '1')])
|
||||
|
||||
conf.Finish()
|
||||
|
||||
st_xorg = env.ConvenienceLibrary(
|
||||
target = 'st_xorg',
|
||||
source = [ 'xorg_composite.c',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue