From e77401d625645dedbe3d8abdbb030adbc8ac4cde Mon Sep 17 00:00:00 2001 From: Kacper Kowalik Date: Wed, 14 Jul 2010 08:10:04 +0200 Subject: [PATCH] Makefile.am: add GLIB_LIBS to _LDADD Adding GLIB_LIBS to _LDFLAGS instead of _LDADD lead to build error when using -Wl,--as-needed. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2