summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2016-04-12 18:56:01 +0300
committerTanu Kaskinen <tanuk@iki.fi>2016-04-12 20:32:47 +0300
commit36d9ae9b2b79950d7e8c7ff2415071f7ea5f9dbd (patch)
tree5b449119ce13b75306e396b8e1b80b94b94bbc0e
parent36de6cb94df5f5b38f440711560d514f52e3482b (diff)
downloadpulseaudio-36d9ae9b2b79950d7e8c7ff2415071f7ea5f9dbd.tar.gz
build-sys: build gtk-test only when glib is enabled
gtk-test pulls in libpulse-mainloop-glib as a dependency, and compiling glib-mainloop.c fails if glib support is disabled.
-rw-r--r--src/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index f8efd9ef2..07cd537e8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -314,12 +314,13 @@ endif
if HAVE_GLIB20
TESTS_default += \
mainloop-test-glib
-endif
if HAVE_GTK30
+# gtk-test depends on both glib and gtk
TESTS_norun += \
gtk-test
endif
+endif
if HAVE_ALSA
TESTS_norun += \