Notmuch dynamic library can now be loaded on macos #137

Open
Ludovic LANGE wants to merge 1 commits from 106-libnotmuch5-not-found-on-macos into master

On macos, the name of dynamic libraries is a little bit different than on Unix.
The code was looking for a libnotmuch.so.5 library, while on macos
it's installed as libnotmuch.5.dylib.

This commit uses cfg attribute to conditionally change the library name.

Closes #106

On macos, the name of dynamic libraries is a little bit different than on Unix. The code was looking for a `libnotmuch.so.5` library, while on macos it's installed as `libnotmuch.5.dylib`. This commit uses cfg attribute to conditionally change the library name. Closes #106
Ludovic LANGE added 1 commit 2021-07-06 01:19:57 +03:00
7afd456f38
Notmuch dynamic library can now be loaded on macos
On macos, the name of dynamic libraries is a little bit different than on Unix.
The code was looking for a `libnotmuch.so.5` library, while on macos
it's installed as `libnotmuch.5.dylib`.

This commit uses cfg attribute to conditionally change the library name.

Closes #106
This pull request can be merged automatically.
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b 106-libnotmuch5-not-found-on-macos master
git pull origin 106-libnotmuch5-not-found-on-macos

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff 106-libnotmuch5-not-found-on-macos
git push origin master
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: llange/meli#137
There is no content yet.