* [PATCH] bcachefs-tools: fix in fuse feature in RUSTFLAGS
@ 2024-10-26 14:18 Integral
0 siblings, 0 replies; only message in thread
From: Integral @ 2024-10-26 14:18 UTC (permalink / raw)
To: kent.overstreet, kent.overstreet, lihongbo22
Cc: mmpgouride, linux-bcachefs, integral
Currently, when "BCACHEFS_FUSE=1" is set, fusemount subcommand
still cannot be identified. Change RUSTFLAGS in Makefile to fix
this problem.
Signed-off-by: Integral <integral@archlinuxcn.org>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index c14db58d..1fae1f5b 100644
--- a/Makefile
+++ b/Makefile
@@ -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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-26 14:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-26 14:18 [PATCH] bcachefs-tools: fix in fuse feature in RUSTFLAGS Integral
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox