aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorizxl007 <zeng.zheng@zte.com.cn>2025-03-25 22:15:38 +0800
committerBernd Schubert <bernd@bsbernd.com>2025-03-26 13:46:43 +0100
commit6cdb65047f60057724d0939836c261bb40433e53 (patch)
tree51b09fa8877153573dba1529c149e04697351774 /example
parent86817c3ca0d2574aa87cdd84eb7a326c74e38b59 (diff)
downloadlibfuse-6cdb65047f60057724d0939836c261bb40433e53.tar.gz
example/hello_ll.c: Improve the compilation comments
When building and installing FUSE3 using Meson on CentOS8, the fuse3.pc file is installed in the /usr/local/lib64/pkgconfig directory. However, pkg-config does not search for fuse3.pc in this directory, leading to GCC compilation failures. This patch improves the compilation comments, helping users successfully execute the GCC command. Signed-off-by: izxl007 <zeng.zheng@zte.com.cn>
Diffstat (limited to 'example')
-rw-r--r--example/hello_ll.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/hello_ll.c b/example/hello_ll.c
index 12927cc..b1ef692 100644
--- a/example/hello_ll.c
+++ b/example/hello_ll.c
@@ -14,6 +14,10 @@
*
* gcc -Wall hello_ll.c `pkg-config fuse3 --cflags --libs` -o hello_ll
*
+ * 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.
+ *
* ## Source code ##
* \include hello_ll.c
*/