From 0f5dc96354bf73afb84dacf79f2d1072d0fe74fe Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 29 Mar 2010 08:25:02 +0200 Subject: build: update after change in gnulib's lib-ignore module * src/Makefile.am (AM_LDFLAGS): Define. Use gnulib's new $(IGNORE_UNUSED_LIBRARIES_CFLAGS). --- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index ecb42a8b0..44f12378c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -170,6 +170,9 @@ AM_CPPFLAGS = -I$(top_srcdir)/lib noinst_LIBRARIES = libver.a nodist_libver_a_SOURCES = version.c version.h +# Tell the linker to omit references to unused shared libraries. +AM_LDFLAGS = $(IGNORE_UNUSED_LIBRARIES_CFLAGS) + # Sometimes, the expansion of $(LIBINTL) includes -lc which may # include modules defining variables like `optind', so libcoreutils.a # must precede $(LIBINTL) in order to ensure we use GNU getopt. -- cgit v1.2.3-54-g00ecf