[newlib-cygwin/main] Add libaio to SUBLIBS built for Cygwin
Corinna Vinschen
corinna@sourceware.org
Tue Nov 19 17:09:02 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b09ff5a6448c015426b51b37b1ccf7517aa4fdf2
commit b09ff5a6448c015426b51b37b1ccf7517aa4fdf2
Author: Mark Geisert <mark@maxrnd.com>
AuthorDate: Tue Nov 19 00:11:24 2024 -0800
Commit: Corinna Vinschen <corinna@vinschen.de>
CommitDate: Tue Nov 19 17:02:13 2024 +0100
Add libaio to SUBLIBS built for Cygwin
Provide libaio.a for those projects (such as stress-ng) checking for
POSIX aio support by looking for this library at configure time.
A release note is provided for Cygwin 3.6.0.
Signed-off-by: Mark Geisert <mark@maxrnd.com>
Fixes: N/A (new code)
Diff:
---
winsup/cygwin/Makefile.am | 6 +++++-
winsup/cygwin/release/3.6.0 | 3 +++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/winsup/cygwin/Makefile.am b/winsup/cygwin/Makefile.am
index 376c79fc3c76..50029749f6fc 100644
--- a/winsup/cygwin/Makefile.am
+++ b/winsup/cygwin/Makefile.am
@@ -550,7 +550,8 @@ SUBLIBS = \
libresolv.a \
librt.a \
libacl.a \
- libssp.a
+ libssp.a \
+ libaio.a
noinst_LIBRARIES = \
libdll.a \
@@ -666,6 +667,9 @@ libacl.a: $(LIB_NAME) sec/posixacl.o
libssp.a: $(LIB_NAME) $(wildcard $(newlib_build)/libc/ssp/*.o)
$(AM_V_GEN)$(speclib) $^ $(@F)
+libaio.a: $(LIB_NAME) aio.o
+ $(AM_V_GEN)$(speclib) $^ $(@F)
+
#
# all
#
diff --git a/winsup/cygwin/release/3.6.0 b/winsup/cygwin/release/3.6.0
index ddb303b15fda..468a2ab248d0 100644
--- a/winsup/cygwin/release/3.6.0
+++ b/winsup/cygwin/release/3.6.0
@@ -13,6 +13,9 @@ What's new:
Windows attributes FILE_ATTRIBUTE_PINNED and FILE_ATTRIBUTE_UNPINNED.
Add matching 'p' and 'u' mode bits in chattr(1) and lsattr(1).
+- New libaio.a provided for projects checking for POSIX aio support
+ by looking for this library at configure time.
+
What changed:
-------------
More information about the Cygwin-cvs
mailing list