mirror of
https://github.com/rclone/rclone.git
synced 2024-11-24 17:34:57 +01:00
docs/librclone: note that adding -ldflags -s to the build command will reduce size of library file
This commit is contained in:
parent
2fed02211c
commit
ad46af9168
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user