Re: [PATCH] Add the gtk libraries to the gtk-scandoc link line.

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

 



On Tue, Jul 28, 2015 at 4:49 PM, Jeremy White <jwhite@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

ACK!

Thanks for taking a look on this one as well.
-- 
Fabiano Fidêncio
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]