[Spice-devel] [PATCH] Add the gtk libraries to the gtk-scandoc link line.

Fabiano FidĂȘncio fabiano at fidencio.org
Tue Jul 28 07:56:03 PDT 2015


On Tue, Jul 28, 2015 at 4:49 PM, Jeremy White <jwhite at codeweavers.com> wrote:
> This prevents a compile error on Debian Jessie, when building from git.
>
> This is fairly subtle, and Debian specific.  It only happens when you use
> autoreconf to generate a new libtool script.  Debian patches that script
> to require an explicit setting to link with all dependent libraries.
>
> It should be harmless on other distros, and it does save us Debian guys some
> hassle.
>
> Signed-off-by: Jeremy White <jwhite at codeweavers.com>
> ---
>  doc/reference/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am
> index 0e4d5b3..ed94138 100644
> --- a/doc/reference/Makefile.am
> +++ b/doc/reference/Makefile.am
> @@ -55,7 +55,7 @@ IGNORE_HFILES=                                        \
>
>  # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
>  GTKDOC_CFLAGS = -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src -I$(top_builddir)/src $(SPICE_GLIB_CFLAGS) $(SPICE_GTK_CFLAGS) $(COMMON_CFLAGS)
> -GTKDOC_LIBS = $(top_builddir)/src/libspice-client-glib-2.0.la $(top_builddir)/src/libspice-client-gtk-$(SPICE_GTK_API_VERSION).la
> +GTKDOC_LIBS = $(top_builddir)/src/libspice-client-glib-2.0.la $(top_builddir)/src/libspice-client-gtk-$(SPICE_GTK_API_VERSION).la $(GTK_LIBS)
>
>  include $(top_srcdir)/gtk-doc.make
>
> --
> 2.1.4
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

ACK!

Thanks for taking a look on this one as well.
-- 
Fabiano FidĂȘncio


More information about the Spice-devel mailing list