Blame fio-3.29-link-t-io_uring-with-libaio.patch
|
Eric Sandeen |
f522f1 |
[PATCH 1/2] t/io_uring: link with libaio when necessary
|
|
Eric Sandeen |
f522f1 |
|
|
Eric Sandeen |
f522f1 |
When CONFIG_LIBAIO is enabled, we need t/io_uring to link with it.
|
|
Eric Sandeen |
f522f1 |
(libaio_LIBS only affects the aio engine, AFAICT.)
|
|
Eric Sandeen |
f522f1 |
|
|
Eric Sandeen |
f522f1 |
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
|
|
Eric Sandeen |
f522f1 |
---
|
|
Eric Sandeen |
f522f1 |
|
|
Eric Sandeen |
f522f1 |
diff --git a/Makefile b/Makefile
|
|
Eric Sandeen |
f522f1 |
index 5d17bca..00e7953 100644
|
|
Eric Sandeen |
f522f1 |
--- a/Makefile
|
|
Eric Sandeen |
f522f1 |
+++ b/Makefile
|
|
Eric Sandeen |
f522f1 |
@@ -99,6 +99,7 @@ endif
|
|
Eric Sandeen |
f522f1 |
ifdef CONFIG_LIBAIO
|
|
Eric Sandeen |
f522f1 |
libaio_SRCS = engines/libaio.c
|
|
Eric Sandeen |
f522f1 |
cmdprio_SRCS = engines/cmdprio.c
|
|
Eric Sandeen |
f522f1 |
+ LIBS += -laio
|
|
Eric Sandeen |
f522f1 |
libaio_LIBS = -laio
|
|
Eric Sandeen |
f522f1 |
ENGINES += libaio
|
|
Eric Sandeen |
f522f1 |
endif
|
|
Eric Sandeen |
f522f1 |
|