From: David Bremner <david@tethera.net>
Date: Tue, 16 Sep 2014 18:50:57 +0000 (+0200)
Subject: python: bump SONAME
X-Git-Tag: 0.19_rc1~81
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=f6ce18fae9481d2d353b301900e675e47acabb3f;p=notmuch

python: bump SONAME

This should have happened in commit 6754ad9f9, but oops.

This was not caught by our test suite because it uses an installed
notmuch library of it cannot find the just built one.
---

diff --git a/bindings/python/notmuch/globals.py b/bindings/python/notmuch/globals.py
index 2deb87cf..24b25d36 100644
--- a/bindings/python/notmuch/globals.py
+++ b/bindings/python/notmuch/globals.py
@@ -24,9 +24,9 @@ from ctypes import CDLL, Structure, POINTER
 try:
     from os import uname
     if uname()[0] == 'Darwin':
-        nmlib = CDLL("libnotmuch.3.dylib")
+        nmlib = CDLL("libnotmuch.4.dylib")
     else:
-        nmlib = CDLL("libnotmuch.so.3")
+        nmlib = CDLL("libnotmuch.so.4")
 except:
     raise ImportError("Could not find shared 'notmuch' library.")