From e4c32ebb6f26d97e8843d43c515b81f1fd53c5ff Mon Sep 17 00:00:00 2001 From: lday Date: Sun, 9 Jul 2023 21:30:25 +0800 Subject: [PATCH] link liburing-ffi --- app/redis_tools/redis_gateway/Makefile.in | 2 +- app/wizard/tmpl/Makefile_fiber.in | 2 +- lib_fiber/samples/Makefile.in | 4 ++-- lib_fiber/samples/Makefile_cpp.in | 4 ++-- lib_fiber/samples/client4/Makefile | 2 +- lib_fiber/samples/close_another/Makefile.in | 4 ++-- lib_fiber/samples/dead_lock2/Makefile.in | 4 ++-- lib_fiber/samples/fiber_stack2/Makefile.in | 4 ++-- lib_fiber/unit_test/Makefile.in | 4 ++-- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/redis_tools/redis_gateway/Makefile.in b/app/redis_tools/redis_gateway/Makefile.in index ce48003e9..8a5db1c2b 100644 --- a/app/redis_tools/redis_gateway/Makefile.in +++ b/app/redis_tools/redis_gateway/Makefile.in @@ -83,7 +83,7 @@ ifeq ($(findstring Linux, $(UNIXNAME)), Linux) endif has_io_uring=$(HAS_IO_URING) ifeq ($(has_io_uring), yes) - SYSLIB += -luring + SYSLIB += -luring-ffi endif CFLAGS += -DLINUX2 -D_REENTRANT diff --git a/app/wizard/tmpl/Makefile_fiber.in b/app/wizard/tmpl/Makefile_fiber.in index 38845432e..4b4c9afe9 100644 --- a/app/wizard/tmpl/Makefile_fiber.in +++ b/app/wizard/tmpl/Makefile_fiber.in @@ -83,7 +83,7 @@ ifeq ($(findstring Linux, $(UNIXNAME)), Linux) endif has_io_uring=$(HAS_IO_URING) ifeq ($(has_io_uring), yes) - SYSLIB += -luring + SYSLIB += -luring-ffi endif CFLAGS += -DLINUX2 -D_REENTRANT diff --git a/lib_fiber/samples/Makefile.in b/lib_fiber/samples/Makefile.in index dcf096c00..5a2c68a52 100644 --- a/lib_fiber/samples/Makefile.in +++ b/lib_fiber/samples/Makefile.in @@ -76,10 +76,10 @@ ifeq ($(findstring Linux, $(UNIXNAME)), Linux) # CFLAGS += -DLINUX2 SYSLIB += -lcrypt -rdynamic -ldl -lrt ifeq ($(HAS_IO_URING), yes) - SYSLIB += -luring + SYSLIB += -luring-ffi endif ifeq ($(has_io_uring), yes) - SYSLIB += -luring + SYSLIB += -luring-ffi endif endif diff --git a/lib_fiber/samples/Makefile_cpp.in b/lib_fiber/samples/Makefile_cpp.in index 3f78fcbe5..480ac70af 100644 --- a/lib_fiber/samples/Makefile_cpp.in +++ b/lib_fiber/samples/Makefile_cpp.in @@ -72,10 +72,10 @@ ifeq ($(findstring Linux, $(UNIXNAME)), Linux) RPATH = linux64 endif ifeq ($(HAS_IO_URING), yes) - SYSLIB += -luring + SYSLIB += -luring-ffi endif ifeq ($(has_io_uring), yes) - SYSLIB += -luring + SYSLIB += -luring-ffi endif # CFLAGS += -DLINUX2 -D_REENTRANT CFLAGS += -D_REENTRANT diff --git a/lib_fiber/samples/client4/Makefile b/lib_fiber/samples/client4/Makefile index 3209bff21..5d9f4fb51 100644 --- a/lib_fiber/samples/client4/Makefile +++ b/lib_fiber/samples/client4/Makefile @@ -1,5 +1,5 @@ include ../Makefile.in ifeq ($(findstring Linux, $(UNIXNAME)), Linux) - SYSLIB += -luring + SYSLIB += -luring-ffi endif PROG = client diff --git a/lib_fiber/samples/close_another/Makefile.in b/lib_fiber/samples/close_another/Makefile.in index cd014e8eb..bee1d2cc0 100644 --- a/lib_fiber/samples/close_another/Makefile.in +++ b/lib_fiber/samples/close_another/Makefile.in @@ -60,10 +60,10 @@ ifeq ($(findstring Linux, $(UNIXNAME)), Linux) RPATH = linux64 endif ifeq ($(HAS_IO_URING), yes) - SYSLIB += -luring + SYSLIB += -luring-ffi endif ifeq ($(has_io_uring), yes) - SYSLIB += -luring + SYSLIB += -luring-ffi endif # CFLAGS += -DLINUX2 -D_REENTRANT CFLAGS += -D_REENTRANT diff --git a/lib_fiber/samples/dead_lock2/Makefile.in b/lib_fiber/samples/dead_lock2/Makefile.in index 9add55785..a1ada9a23 100644 --- a/lib_fiber/samples/dead_lock2/Makefile.in +++ b/lib_fiber/samples/dead_lock2/Makefile.in @@ -72,10 +72,10 @@ ifeq ($(findstring Linux, $(UNIXNAME)), Linux) RPATH = linux64 endif ifeq ($(HAS_IO_URING), yes) - SYSLIB += -luring + SYSLIB += -luring-ffi endif ifeq ($(has_io_uring), yes) - SYSLIB += -luring + SYSLIB += -luring-ffi endif # CFLAGS += -DLINUX2 -D_REENTRANT CFLAGS += -D_REENTRANT diff --git a/lib_fiber/samples/fiber_stack2/Makefile.in b/lib_fiber/samples/fiber_stack2/Makefile.in index 9add55785..a1ada9a23 100644 --- a/lib_fiber/samples/fiber_stack2/Makefile.in +++ b/lib_fiber/samples/fiber_stack2/Makefile.in @@ -72,10 +72,10 @@ ifeq ($(findstring Linux, $(UNIXNAME)), Linux) RPATH = linux64 endif ifeq ($(HAS_IO_URING), yes) - SYSLIB += -luring + SYSLIB += -luring-ffi endif ifeq ($(has_io_uring), yes) - SYSLIB += -luring + SYSLIB += -luring-ffi endif # CFLAGS += -DLINUX2 -D_REENTRANT CFLAGS += -D_REENTRANT diff --git a/lib_fiber/unit_test/Makefile.in b/lib_fiber/unit_test/Makefile.in index 63c209454..e89d73430 100644 --- a/lib_fiber/unit_test/Makefile.in +++ b/lib_fiber/unit_test/Makefile.in @@ -73,10 +73,10 @@ ifeq ($(findstring Linux, $(UNIXNAME)), Linux) RPATH = linux64 endif ifeq ($(HAS_IO_URING), yes) - SYSLIB += -luring + SYSLIB += -luring-ffi endif ifeq ($(has_io_uring), yes) - SYSLIB += -luring + SYSLIB += -luring-ffi endif # CFLAGS += -DLINUX2 -D_REENTRANT CFLAGS += -D_REENTRANT