meson: Fix glx build with DRI2 disabled.
A common meson pattern is to use empty arrays for optional sources and dependencies, since it generally iterates over trees of arrays looking for values. A value of '' will actually go looking for ''. Daniel Stone <daniels@collabora.com> Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
62f727c7ea
commit
ea275cd3d5
|
@ -49,7 +49,7 @@ if build_glx
|
|||
)
|
||||
endif
|
||||
|
||||
srcs_glxdri2 = ''
|
||||
srcs_glxdri2 = []
|
||||
if build_dri2 or build_dri3
|
||||
srcs_glxdri2 = files('glxdri2.c')
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue