[pulseaudio-discuss] [PATCH] build-sys: build gtk-test only when glib is enabled
Tanu Kaskinen
tanuk at iki.fi
Tue Apr 12 15:56:01 UTC 2016
gtk-test pulls in libpulse-mainloop-glib as a dependency, and compiling
glib-mainloop.c fails if glib support is disabled.
---
src/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index f8efd9e..07cd537 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 += \
--
2.8.0.rc3
More information about the pulseaudio-discuss
mailing list