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.
This commit is contained in:
David Bremner 2014-09-16 20:50:57 +02:00
parent ee3ccccd25
commit f6ce18fae9

View file

@ -24,9 +24,9 @@ from ctypes import CDLL, Structure, POINTER
try: try:
from os import uname from os import uname
if uname()[0] == 'Darwin': if uname()[0] == 'Darwin':
nmlib = CDLL("libnotmuch.3.dylib") nmlib = CDLL("libnotmuch.4.dylib")
else: else:
nmlib = CDLL("libnotmuch.so.3") nmlib = CDLL("libnotmuch.so.4")
except: except:
raise ImportError("Could not find shared 'notmuch' library.") raise ImportError("Could not find shared 'notmuch' library.")