Commit
+4 -1 +/-1 browse
1 | diff --git a/melib/src/backends.rs b/melib/src/backends.rs |
2 | index 29f6a17..bc3cf37 100644 |
3 | --- a/melib/src/backends.rs |
4 | +++ b/melib/src/backends.rs |
5 | @@ -113,7 +113,10 @@ pub const NOTMUCH_ERROR_MSG: &str = "this version of meli is not compiled with n |
6 | #[cfg(not(feature = "notmuch"))] |
7 | pub const NOTMUCH_ERROR_DETAILS: &str = ""; |
8 | |
9 | - #[cfg(all(feature = "notmuch", target_family = "unix"))] |
10 | + #[cfg(all( |
11 | + feature = "notmuch", |
12 | + all(target_family = "unix", not(target_os = "macos")) |
13 | + ))] |
14 | pub const NOTMUCH_ERROR_DETAILS: &str = r#"If you have installed the library manually, try setting the `LD_LIBRARY_PATH` environment variable to its `lib` directory. Otherwise, set it to the location of libnotmuch.5.so. Example: |
15 | |
16 | LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/path/to/notmuch/lib" meli |