$OpenBSD: patch-configure_ac,v 1.2 2017/11/05 06:33:45 jca Exp $
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -117,7 +117,7 @@ VERSION=PYTHON_VERSION
 
 # Version number of Python's own shared library file.
 AC_SUBST(SOVERSION)
-SOVERSION=1.0
+SOVERSION=${LIBpython3.6m_VERSION}
 
 # The later defininition of _XOPEN_SOURCE disables certain features
 # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
