docs: write about static linking error

This commit is contained in:
MeexReay 2025-07-20 02:02:01 +03:00 committed by GitHub
parent cf4d6e4ebe
commit 253168e1b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,6 +64,14 @@ All of these, with adding icons and other, makes this command: `make install` (u
But make sure, that you have `.local/bin` in the `PATH` variable, otherwise it won't work. \
Now, if you'll run with the desktop file, GNotifications will work perfectly.
### Error: have you installed the static version of the ? library
Use this rustflags:
```bash
RUSTFLAGS="-C target-feature=-crt-static" cargo build -r
```
# Cross-compiling (from Linux)
Build for all supported systems: