summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-02-05 11:59:26 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2023-02-05 14:01:54 -0800
commit8acc04a7b5c7c936a3f48a1681592050c389e57b (patch)
tree2d7a10eca4d23baa784f3107e309320b4409ab13
parent27a9b27d00920a2c574d388301f4c576b0f3c7c9 (diff)
downloaddiffutils-8acc04a7b5c7c936a3f48a1681592050c389e57b.tar.gz
build: add libraries
* src/Makefile.am (LDADD, sdiff_LDADD): Add Gnulib libraries that in theory would be needed on unusual platforms. In practice, these are typicall empty or are duplicates of other library arguments and so are redundant.
-rw-r--r--src/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 9a93619..3364a00 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -30,11 +30,16 @@ LDADD = \
$(LIBINTL) \
$(LIBICONV) \
$(LIBSIGSEGV) \
- $(LIB_CLOCK_GETTIME)
+ $(LIBTHREAD) \
+ $(LIBUNISTRING) \
+ $(CLOCK_TIME_LIB) \
+ $(HARD_LOCALE_LIB) \
+ $(MBRTOWC_LIB) \
+ $(SETLOCALE_NULL_LIB)
diff_LDADD = $(LDADD)
cmp_LDADD = $(LDADD)
-sdiff_LDADD = $(LDADD)
+sdiff_LDADD = $(LDADD) $(GETRANDOM_LIB)
diff3_LDADD = $(LDADD)
cmp_SOURCES = cmp.c