From 04525c29025b075f4c1d1220a9705cd4925f4189 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Tue, 25 Jan 2022 12:57:39 -0600 Subject: [PATCH] t/io_uring: link with libaio when necessary When CONFIG_LIBAIO is enabled, we need t/io_uring to link with it. (libaio_LIBS only affects the aio engine, AFAICT.) Signed-off-by: Eric Sandeen Signed-off-by: Jens Axboe --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 5d17bcab..76eb0d7d 100644 --- a/Makefile +++ b/Makefile @@ -99,6 +99,7 @@ endif ifdef CONFIG_LIBAIO libaio_SRCS = engines/libaio.c cmdprio_SRCS = engines/cmdprio.c + LIBS += -laio libaio_LIBS = -laio ENGINES += libaio endif -- 2.25.1