From 7565da8a9f9b832e76538e9f381d866f76cd2a22 Mon Sep 17 00:00:00 2001 From: Richael Zhuang Date: Tue, 24 Mar 2020 09:58:42 +0800 Subject: [PATCH] Makefile: add -lfuse3 when building with --with-fuse Building with --with-fuse failed: undefined reference to symbols starting with 'fuse_'. Signed-off-by: Richael Zhuang Change-Id: Iff4000c4cc609052271979cf8807aba7efd98469 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1424 Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker Reviewed-by: Tomasz Zawadzki Reviewed-by: Darek Stojaczyk --- mk/spdk.common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/spdk.common.mk b/mk/spdk.common.mk index e5f1c79b7..5f0988905 100644 --- a/mk/spdk.common.mk +++ b/mk/spdk.common.mk @@ -230,7 +230,7 @@ ifeq ($(CONFIG_LOG_BACKTRACE),y) SYS_LIBS += -lunwind endif -ifeq ($(CONFIG_NVME_CUSE),y) +ifneq ($(CONFIG_NVME_CUSE)$(CONFIG_FUSE),nn) SYS_LIBS += -lfuse3 endif