GNOME Bugzilla – Bug 662647
gcr-viewer fails to compile
Last modified: 2019-02-22 11:57:35 UTC
git master fails to build gcr-viewer because it isn't linked against GLib (as it should be). The fix is trivial: diff --git a/gcr/Makefile.am b/gcr/Makefile.am index 8727de9..a3bb469 100644 --- a/gcr/Makefile.am +++ b/gcr/Makefile.am @@ -283,6 +283,7 @@ gcr_viewer_SOURCES = \ gcr-viewer-tool.c gcr_viewer_CFLAGS = \ + $(GLIB_CFLAGS) \ $(GTK_CFLAGS) \ -DLOCALEDIR=\""$(datadir)/locale"\" \ -DGCR_API_SUBJECT_TO_CHANGE @@ -290,6 +291,7 @@ gcr_viewer_CFLAGS = \ gcr_viewer_LDADD = \ $(builddir)/libgcr-$(GCR_MAJOR).la \ $(top_builddir)/gck/libgck-@GCK_MAJOR@.la \ + $(GLIB_LIBS) \ $(GTK_LIBS) # ------------------------------------------------------------------
Thanks. I wonder why it didn't fail for me :S Committed to git gcr master, and gnome-keyring gnome-3-2 (since gcr is split out now).