summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-11-20 10:36:54 +0100
committerJim Meyering <meyering@redhat.com>2009-11-20 10:36:54 +0100
commit2fe6784a3507be4fc1ae9d78eb5b8c6d6f759ae6 (patch)
tree5976ca4ea9b1f5c7737004e7a9127a1c0ef8f3d8
parent4fe5ec326f4a09060ec30097cef9ba8b547f69d5 (diff)
downloaddiffutils-2fe6784a3507be4fc1ae9d78eb5b8c6d6f759ae6.tar.gz
build: link with now-required libraries
* src/Makefile.am (LDADD): Add gnulib-required libraries. (cmp_LDADD): Add $(LIBICONV), for cmp's use of proper_name_utf8.
-rw-r--r--src/Makefile.am14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 84f330d..7c9dc7c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -23,8 +23,18 @@ localedir = $(datadir)/locale
AM_CPPFLAGS = -I../lib -I$(top_srcdir)/lib
-LDADD = ../lib/libdiffutils.a $(LIBINTL) $(LIBSIGSEGV)
-diff_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME)
+LDADD = \
+ ../lib/libdiffutils.a \
+ $(LIBCSTACK) \
+ $(LIBINTL) \
+ $(LIBSIGSEGV) \
+ $(LIB_CLOCK_GETTIME) \
+ $(LIB_NANOSLEEP)
+
+diff_LDADD = $(LDADD)
+cmp_LDADD = $(LDADD) $(LIBICONV)
+sdiff_LDADD = $(LDADD)
+diff3_LDADD = $(LDADD)
cmp_SOURCES = cmp.c
diff3_SOURCES = diff3.c