aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorizxl007 <zeng.zheng@zte.com.cn>2025-03-27 12:24:40 +0800
committerBernd Schubert <bernd@bsbernd.com>2025-03-27 07:13:57 +0100
commita25fb9bd49ef56a2223262784f18dd9bbc2601dc (patch)
tree3e9a859ee36d115fb5feac3e136cadbc60b44343 /example
parent6cdb65047f60057724d0939836c261bb40433e53 (diff)
downloadlibfuse-a25fb9bd49ef56a2223262784f18dd9bbc2601dc.tar.gz
example: Add a compilation instruction in README.compile
When building FUSE3 with Meson on CentOS 8, the fuse3.pc file gets installed in /usr/local/lib64/pkgconfig. Since pkg-config doesn't search this path by default, GCC compilation fails due to missing FUSE3 flags. This patch adds an instruction for setting PKG_CONFIG_PATH variable in README.compile to fix GCC compilation issues. Signed-off-by: izxl007 <zeng.zheng@zte.com.cn>
Diffstat (limited to 'example')
-rw-r--r--example/README.compile4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/README.compile b/example/README.compile
new file mode 100644
index 0000000..a7b6819
--- /dev/null
+++ b/example/README.compile
@@ -0,0 +1,4 @@
+Note:
+ * If the pkg-config command fails due to the absence of the fuse3.pc file,
+ you should configure the path to the fuse3.pc file in the PKG_CONFIG_PATH
+ variable. \ No newline at end of file