Skip to contentSkip to conversation

bcachefs-tools: fix in fuse feature in RUSTFLAGS

PATCH New Integral 1 participant 1 message Oct 26, 2024 Kbuild

lore
Share & tools
lore

Integral

author
#0 lore raw

PATCH 1/1 bcachefs-tools: fix in fuse feature in RUSTFLAGS

Currently, when "BCACHEFS_FUSE=1" is set, fusemount subcommand still cannot be identified. Change RUSTFLAGS in Makefile to fix this problem.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index c14db58d..1fae1f5b 100644
@@ -79,7 +79,7 @@ PKGCONFIG_LIBS="blkid uuid liburcu libsodium zlib liblz4 libzstd libudev libkeyu
 ifdef BCACHEFS_FUSE
 	PKGCONFIG_LIBS+="fuse3 >= 3.7"
 	CFLAGS+=-DBCACHEFS_FUSE
-	RUSTFLAGS+=--cfg fuse
+	RUSTFLAGS+=--cfg feature="fuse"
 endif
 
 PKGCONFIG_CFLAGS:=$(shell $(PKG_CONFIG) --cflags $(PKGCONFIG_LIBS))

--
2.47.0