python: bump SONAME
authorDavid Bremner <david@tethera.net>
Tue, 16 Sep 2014 18:50:57 +0000 (20:50 +0200)
committerDavid Bremner <david@tethera.net>
Tue, 16 Sep 2014 18:50:57 +0000 (20:50 +0200)
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.

bindings/python/notmuch/globals.py

index 2deb87cf02b15d9a2db642dbec8224290f00d548..24b25d3641efef72ead08be70245821cdbffa557 100644 (file)
@@ -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.")