From 253168e1b5f6a74daa268a68a322a3b47465b3cc Mon Sep 17 00:00:00 2001 From: MeexReay <127148610+MeexReay@users.noreply.github.com> Date: Sun, 20 Jul 2025 02:02:01 +0300 Subject: [PATCH] docs: write about static linking error --- docs/compiling.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/compiling.md b/docs/compiling.md index a2dcc2d..5725eef 100644 --- a/docs/compiling.md +++ b/docs/compiling.md @@ -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: