From: Eric Sandeen Date: Tue, 25 Jan 2022 18:57:39 +0000 (-0600) Subject: t/io_uring: link with libaio when necessary X-Git-Tag: fio-3.30~83 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=04525c29025b075f4c1d1220a9705cd4925f4189;p=fio.git 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 --- 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