$OpenBSD: patch-configure_ac,v 1.3 2016/07/03 20:10:33 rpointel Exp $
--- configure.ac.orig	Sat Jun 25 23:38:39 2016
+++ configure.ac	Fri Jul  1 10:57:50 2016
@@ -115,7 +115,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).
