[pulseaudio-discuss] [PATCH] build-sys: build gtk-test only when glib is enabled

Arun Raghavan arun at accosted.net
Tue Apr 12 16:45:35 UTC 2016


On 12 April 2016 at 21:26, Tanu Kaskinen <tanuk at iki.fi> wrote:
> 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 += \
> --

Looks good!

-- Arun


More information about the pulseaudio-discuss mailing list