From: Sitsofe Wheeler Date: Sun, 26 Jul 2020 16:22:09 +0000 (+0100) Subject: Makefile/configure: fix guasi build X-Git-Tag: fio-3.24~36^2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=7a1ff7e3fd0e04a776662da62c832ab2f63f1487 Makefile/configure: fix guasi build --- diff --git a/Makefile b/Makefile index 8e1ebc90..6678c2fd 100644 --- a/Makefile +++ b/Makefile @@ -108,6 +108,7 @@ ifdef CONFIG_LINUX_SPLICE endif ifdef CONFIG_GUASI guasi_SRCS = engines/guasi.c + guasi_LIBS = -lguasi ENGINES += guasi endif ifdef CONFIG_SOLARISAIO diff --git a/configure b/configure index 6d672fe5..81bfb270 100755 --- a/configure +++ b/configure @@ -1325,7 +1325,7 @@ int main(int argc, char **argv) return 0; } EOF -if compile_prog "" "" "guasi"; then +if compile_prog "" "-lguasi" "guasi"; then guasi="yes" fi print_config "GUASI" "$guasi"