mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 14:34:29 +00:00
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:
committed by
Adam Jackson
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
|
||||
|
||||
Reference in New Issue
Block a user