$OpenBSD: patch-configure_ac,v 1.2 2015/09/28 04:50:37 rpointel Exp $
--- configure.ac.orig	Sun Sep 13 13:41:26 2015
+++ configure.ac	Tue Sep 22 23:15:55 2015
@@ -114,7 +114,7 @@ VERSION=PYTHON_VERSION
 
 # Version number of Python's own shared library file.
 AC_SUBST(SOVERSION)
-SOVERSION=1.0
+SOVERSION=${LIBpython3.5m_VERSION}
 
 # The later defininition of _XOPEN_SOURCE disables certain features
 # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
