From 6fb5475f44862f78a04e38a23f5147f7a607166b Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Fri, 25 Jul 2014 17:58:37 -0400 Subject: [PATCH] bugfix: link to GLib in cli compile Add linker flags to playerctl libraries in the compilation of the cli. This fixes build problems on some distros. fixes #4 --- playerctl/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playerctl/Makefile.am b/playerctl/Makefile.am index c4d0bd2..72bd9e8 100644 --- a/playerctl/Makefile.am +++ b/playerctl/Makefile.am @@ -65,7 +65,7 @@ EXTRA_DIST += playerctl.pc.in bin_PROGRAMS += playerctl playerctl_SOURCES = playerctl-cli.c playerctl_CPPFLAGS = $(AM_CPPFLAGS) -playerctl_LDADD = libplayerctl-1.0.la +playerctl_LDADD = libplayerctl-1.0.la $(PLAYERCTL_LIBS) -include $(INTROSPECTION_MAKEFILE) INTROSPECTION_GIRS = Playerctl_1_0_gir