summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Leuenberger <dimstar@opensuse.org>2015-03-30 17:03:46 +0200
committerDominique Leuenberger <dimstar@opensuse.org>2015-03-30 17:03:46 +0200
commit69d58c2a969ee8d98ef458683a658a6cbec0e5b7 (patch)
tree1f45d1211fd253746fa49bce58acbad47178cd3e
parent546998e687d621667065a422aad0b496ff9fbdb3 (diff)
downloadappstream-glib-0_3_X.tar.gz
Build: link libasb_plugin_font.la with GTK30_3_X
Until f630bcf, linking GDKPIXBUF implicitly also linked against gtk+-3.0 libappstream-builder itself is linked against the whole stack, but when linking using -Wl,--as-needed, the library references to cairo and gdk are dropped for not being used. Hence, let's explicitly link the font-plugin against GTK.
-rw-r--r--libappstream-builder/plugins/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-builder/plugins/Makefile.am b/libappstream-builder/plugins/Makefile.am
index 695bebc..71bc44b 100644
--- a/libappstream-builder/plugins/Makefile.am
+++ b/libappstream-builder/plugins/Makefile.am
@@ -125,7 +125,7 @@ libasb_plugin_ibus_xml_la_LDFLAGS = -module -avoid-version
libasb_plugin_ibus_xml_la_CFLAGS = $(GLIB_CFLAGS) $(WARNINGFLAGS_C)
libasb_plugin_font_la_SOURCES = asb-plugin-font.c
-libasb_plugin_font_la_LIBADD = $(GLIB_LIBS) $(FREETYPE_LIBS) $(GDKPIXBUF_LIBS)
+libasb_plugin_font_la_LIBADD = $(GLIB_LIBS) $(FREETYPE_LIBS) $(GDKPIXBUF_LIBS) $(GTK_LIBS)
libasb_plugin_font_la_LDFLAGS = -module -avoid-version
libasb_plugin_font_la_CFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(WARNINGFLAGS_C)