Makefile/configure: fix guasi build
authorSitsofe Wheeler <sitsofe@yahoo.com>
Sun, 26 Jul 2020 16:22:09 +0000 (17:22 +0100)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Sun, 6 Sep 2020 20:23:48 +0000 (21:23 +0100)
Makefile
configure

index 8e1ebc905fb259de72110df140cf9f7feb39281b..6678c2fd35b3344da64b44fde95cf6c1f4d17946 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -108,6 +108,7 @@ ifdef CONFIG_LINUX_SPLICE
 endif
 ifdef CONFIG_GUASI
   guasi_SRCS = engines/guasi.c
 endif
 ifdef CONFIG_GUASI
   guasi_SRCS = engines/guasi.c
+  guasi_LIBS = -lguasi
   ENGINES += guasi
 endif
 ifdef CONFIG_SOLARISAIO
   ENGINES += guasi
 endif
 ifdef CONFIG_SOLARISAIO
index 6d672fe5ebda76596c332d0e9afbb0399f462593..81bfb270c9f68f9f7043cd190e127bafa5f89d48 100755 (executable)
--- a/configure
+++ b/configure
@@ -1325,7 +1325,7 @@ int main(int argc, char **argv)
   return 0;
 }
 EOF
   return 0;
 }
 EOF
-if compile_prog "" "" "guasi"; then
+if compile_prog "" "-lguasi" "guasi"; then
   guasi="yes"
 fi
 print_config "GUASI" "$guasi"
   guasi="yes"
 fi
 print_config "GUASI" "$guasi"