]> git.notmuchmail.org Git - notmuch/commitdiff
python: also use libnotmuch.so.2
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Wed, 5 Oct 2011 13:46:03 +0000 (15:46 +0200)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Wed, 5 Oct 2011 13:46:03 +0000 (15:46 +0200)
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>
bindings/python/notmuch/globals.py

index 190854a1b9bc654acd9c91c3d710adefde34e987..51d2b654e736aa07860776d7fed17b9d9d113cee 100644 (file)
@@ -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.")