summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-12-27 21:36:49 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2022-12-27 22:31:43 -0800
commit3c01caccb02686d1a4ffd0e22911f6e53badadc3 (patch)
tree4dde1d010e5e28d481ec44506d50d02ba604548d
parentb9b57feb9f6c0b4b6eb02b3fe5612a450c4d6ad1 (diff)
downloadgzip-3c01caccb02686d1a4ffd0e22911f6e53badadc3.tar.gz
maint: link with $(LIB_FDATASYNC)
* Makefile.am (gzip_LDADD): Add LIB_FDATASYNC as gnulib-tool suggests. It’s not likely to make much difference nowadays (does anybody still run Solaris 10 x86?) but it shouldn’t hurt to add it.
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 4f51b61..da2fda8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -62,7 +62,9 @@ gzip_SOURCES = \
bits.c deflate.c gzip.c inflate.c \
trees.c unlzh.c unlzw.c unpack.c unzip.c util.c zip.c
gzip_LDADD = libver.a lib/libgzip.a
-gzip_LDADD += $(LIB_CLOCK_GETTIME)
+gzip_LDADD += $(LIB_CLOCK_GETTIME) $(LIB_FDATASYNC)
+# gnulib-tool also recommends $(LIB_MBRTOWC) and $(LIBINTL), but
+# modules needing those libraries are avoided so the libraries can be omitted.
if IBM_Z_DFLTCC
gzip_SOURCES += dfltcc.c
endif