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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux