]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: update after change in gnulib's lib-ignore module
authorBruno Haible <bruno@clisp.org>
Mon, 29 Mar 2010 06:25:02 +0000 (08:25 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 29 Mar 2010 06:28:51 +0000 (08:28 +0200)
* src/Makefile.am (AM_LDFLAGS): Define.  Use gnulib's new
$(IGNORE_UNUSED_LIBRARIES_CFLAGS).

src/Makefile.am

index ecb42a8b0cd05e9c5222e7dbf1b6c3f3b1563d76..44f12378c0384894af9c9fb1c633cfecbf8d68ab 100644 (file)
@@ -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.