summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gmail.com>2019-09-09 11:30:25 +0100
committerGitHub <noreply@github.com>2019-09-09 11:30:25 +0100
commitaf38a466caf9c2ae49b8acda4ff842ae44d57f78 (patch)
tree96e7d56caf54327159b8a2f8153185b0ce197f3a /test
parent7888347610b45573b2e7a0fbc3b31dd117fcfc5c (diff)
parent59a689a8b04b2cffb17cbd1fdf95965d6a820c6c (diff)
downloadlibepoxy-af38a466caf9c2ae49b8acda4ff842ae44d57f78.tar.gz
Merge pull request #194 from centricular/meson-trivial-fix
meson: Don't build glx tests if x11 is disabled
Diffstat (limited to 'test')
-rw-r--r--test/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/meson.build b/test/meson.build
index c73bf5d..862d57a 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -80,7 +80,7 @@ if build_egl and build_x11_tests
endforeach
endif
-if build_glx
+if build_glx and build_x11_tests
glx_common_sources = [ 'glx_common.h', 'glx_common.c', ]
glx_common_lib = static_library('glx_common',
sources: glx_common_sources,