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 ''.
Signed-off-by: Eric Anholt <e...@anholt.net> --- glx/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glx/meson.build b/glx/meson.build index c5f5ecc8f430..a4af2b84688e 100644 --- a/glx/meson.build +++ b/glx/meson.build @@ -49,7 +49,7 @@ if build_glx ) endif -srcs_glxdri2 = '' +srcs_glxdri2 = [] if build_dri2 or build_dri3 srcs_glxdri2 = files('glxdri2.c') endif -- 2.11.0 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel