[gtk+] gtk/Makefile.am: fix gtk-encode-symbolic-svg build for jhbuild



commit f9d118ed8a59b27d8d4ded293b31e070c17364ff
Author: Pietro Gagliardi <pietro10 mac com>
Date:   Sun Aug 3 12:14:28 2014 -0400

    gtk/Makefile.am: fix gtk-encode-symbolic-svg build for jhbuild
    
    Currently, jhbuild-ing GTK+ on Ubuntu 14.04 LTS and gcc 4.8.2 errors out with
        /usr/bin/ld: encodesymbolic.o: undefined reference to symbol 'g_file_new_for_path'
        /opt/gnome/lib/libgio-2.0.so.0: error adding symbols: DSO missing from command line
    when trying to build gtk-encode-symbolic-svg. This is because $(GTK_DEP_LIBS) isn't defined in 
$(gtk_encode_symbolic_svg_LDADD) in gtk/Makefile.am. This patch should fix that.
    
    Thanks to b4n and gregier in irc.gimp.net/#gtk+ for help.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=734201

 gtk/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 6c4632e..b67b8a6 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1689,7 +1689,7 @@ gtk_update_icon_cache_DEPENDENCIES = $(GTK_UPDATE_ICON_CACHE_MANIFEST_OBJECT)
 gtk_update_icon_cache_SOURCES = updateiconcache.c
 endif
 
-gtk_encode_symbolic_svg_LDADD = $(GDK_PIXBUF_LIBS) $(top_builddir)/gdk/libgdk-3.la
+gtk_encode_symbolic_svg_LDADD = $(GDK_PIXBUF_LIBS) $(top_builddir)/gdk/libgdk-3.la $(GTK_DEP_LIBS)
 gtk_encode_symbolic_svg_SOURCES = encodesymbolic.c
 
 


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