[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
- bug#60326: [COMMITTED 1/8] build: update gnulib submodule to latest, Paul Eggert, 2022/12/25
- bug#60327: [COMMITTED 2/8] maint: update .gitignore to match Gnulib changes, Paul Eggert, 2022/12/25
- bug#60326: [COMMITTED 5/8] maint: stop using obsolete dosname module, Paul Eggert, 2022/12/25
- bug#60326: [COMMITTED 4/8] maint: stop using obsolete stdnoreturn module, Paul Eggert, 2022/12/25
- bug#60326: [COMMITTED 3/8] maint: stop using obsolete fdl module, Paul Eggert, 2022/12/25
- bug#60326: [COMMITTED 7/8] gzip: local → static, Paul Eggert, 2022/12/25
- bug#60326: [COMMITTED 6/8] maint: port function definitions to C23, Paul Eggert, 2022/12/25
- bug#60326: [COMMITTED 8/8] gzip: port alignas usage to C23, Paul Eggert, 2022/12/25
- bug#60326: [PATCH] maint: do not include stdbool.h, stdalign.h, Paul Eggert, 2022/12/26
- bug#60326: [PATCH 1/2] maint: link with $(LIB_FDATASYNC),
Paul Eggert <=