summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2018-05-05 14:32:59 +0000
committerJan Schmidt <jan@centricular.com>2018-05-06 00:35:23 +1000
commit0b9517cc96b745709f30f99f22172553d9f5110f (patch)
tree6692e262dd06df411f05a05e9c779b3327ce6350 /tests
parent0dcd431c0e262af2dd98dcfa04f99e114d6c4933 (diff)
waylandsink: Only build if gtk-3.0 was built with wayland target
Check in configure if the gtk-3.0 has wayland support, and don't build the waylandsink example if it doesn't.
Diffstat (limited to 'tests')
-rw-r--r--tests/examples/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/examples/Makefile.am b/tests/examples/Makefile.am
index 68f34123a..5dc561460 100644
--- a/tests/examples/Makefile.am
+++ b/tests/examples/Makefile.am
@@ -31,7 +31,7 @@ AVSAMPLE_DIR=
endif
if USE_WAYLAND
-if HAVE_GTK3
+if HAVE_GTK3_WAYLAND
WAYLAND_DIR=waylandsink
else
WAYLAND_DIR=