bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60326: [PATCH 1/2] maint: link with $(LIB_FDATASYNC)


From: Paul Eggert
Subject: bug#60326: [PATCH 1/2] maint: link with $(LIB_FDATASYNC)
Date: Tue, 27 Dec 2022 22:33:29 -0800

* 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.
---
 Makefile.am | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
-- 
2.38.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]