libaio 0.3.112 and move to core

This commit is contained in:
idriskalp
2019-12-27 12:41:46 +03:00
parent 1899dc49fa
commit fec5713bf2
11 changed files with 462 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
--- a/src/Makefile
+++ b/src/Makefile
@@ -42,10 +42,12 @@
$(CC) $(L_CFLAGS) -c -o $@ $<
+AR ?= ar
+RANLIB ?= ranlib
libaio.a: $(libaio_objs)
rm -f libaio.a
- ar r libaio.a $^
- ranlib libaio.a
+ $(AR) r libaio.a $^
+ $(RANLIB) libaio.a
$(libname): $(libaio_sobjs) libaio.map
$(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname,$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS)