From: Kacper Kowalik Date: Wed, 14 Jul 2010 06:10:04 +0000 (+0200) Subject: Makefile.am: add GLIB_LIBS to _LDADD X-Git-Tag: release-0.18~15 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e77401d625645dedbe3d8abdbb030adbc8ac4cde;p=ncmpc.git Makefile.am: add GLIB_LIBS to _LDADD Adding GLIB_LIBS to _LDFLAGS instead of _LDADD lead to build error when using -Wl,--as-needed. --- diff --git a/Makefile.am b/Makefile.am index 8daa814..1c178d6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -168,7 +168,7 @@ check_PROGRAMS = \ test_run_hscroll_SOURCES = test/run_hscroll.c src/hscroll.c src/charset.c test_run_hscroll_CPPFLAGS = -I$(srcdir)/src $(AM_CPPFLAGS) -test_run_hscroll_LDFLAGS = $(GLIB_LIBS) +test_run_hscroll_LDADD = $(GLIB_LIBS) # # sparse