mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-03 15:21:41 +01:00
python: also use libnotmuch.so.2
Catch up with the major version bump. I wonder if this could somehow be automatically made the correct version number. Oh well, I hope it doesn't change too often :-). Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
parent
051caed5ed
commit
70479753a6
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ from ctypes.util import find_library
|
|||
#-----------------------------------------------------------------------------
|
||||
#package-global instance of the notmuch library
|
||||
try:
|
||||
nmlib = CDLL("libnotmuch.so.1")
|
||||
nmlib = CDLL("libnotmuch.so.2")
|
||||
except:
|
||||
raise ImportError("Could not find shared 'notmuch' library.")
|
||||
|
||||
|
|
Loading…
Reference in a new issue