Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

docs/librclone: note that adding -ldflags -s to the build command will reduce size of library file

albertonyad46af9168b9
diff --git a/librclone/README.md b/librclone/README.md
index a95563209..63a2f7c73 100644
--- a/librclone/README.md
+++ b/librclone/README.md
@@ -33,6 +33,10 @@ The library will depend on `libdl` and `libpthread` on Linux/macOS, unless
linking with a C standard library where their functionality is integrated,
which is the case for glibc version 2.34 and newer.
+You may add arguments `-ldflags -s` to make the library file smaller. This will
+omit symbol table and debug information, reducing size by about 25% on Linux and
+50% on Windows.
+
### Documentation
For documentation see the Go documentation for: