diff options
author | Bruno Haible <bruno@clisp.org> | 2010-03-29 08:25:02 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-03-29 08:28:51 +0200 |
commit | 0f5dc96354bf73afb84dacf79f2d1072d0fe74fe (patch) | |
tree | fdd29623c395c9b77fdebc5de0e1113022fd88e9 | |
parent | 5ef03d6c5bb8d5d822a32db465894c8e051e38ac (diff) | |
download | coreutils-0f5dc96354bf73afb84dacf79f2d1072d0fe74fe.tar.xz |
build: update after change in gnulib's lib-ignore module
* src/Makefile.am (AM_LDFLAGS): Define. Use gnulib's new
$(IGNORE_UNUSED_LIBRARIES_CFLAGS).
-rw-r--r-- | src/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
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. |