summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-01-18 15:40:00 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2017-02-06 13:48:53 +0000
commit476851ba416c0fa478a8ec0620d482ed5079e38b (patch)
tree2c8248271f9b3c95e6584f6674bca5a0bf24a8ec /test
parent6af57b07459742b90ef7471733bd090a4580fe61 (diff)
downloadlibepoxy-476851ba416c0fa478a8ec0620d482ed5079e38b.tar.gz
Allow enabling and disabling GLX support
Currently, GLX support in libepoxy at build time is hard coded, but various platforms have expressed their preference for having a configure-time option for it. For instance: - various embedded distributors do not ship with X11, but wish to use libraries that depend on libepoxy now that Wayland is available - distributors for macOS still wish to retain the ability to ship their software with X11 enabled By default, we want epoxy to build with GLX enabled pretty much everywhere it makes sense, since it's only a build-time option and it's not a run-time dependency.
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 857a980..2340fc6 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -1,6 +1,6 @@
has_gles1 = gles1_dep.found()
has_gles2 = gles2_dep.found()
-build_x11_tests = x11_dep.found()
+build_x11_tests = build_glx and x11_dep.found()
test_cflags = common_cflags + [
'-D_XOPEN_SOURCE',