This patch was developed in-house. We have not yet decided whether to offer
it upstream or not.
--- Python-3.5.2/configure.ac.~3~ 2016-07-08 07:01:17.881588483 -0700
+++ Python-3.5.2/configure.ac 2016-07-08 07:01:18.127834605 -0700
@@ -4494,7 +4494,7 @@
AC_SUBST(EXT_SUFFIX)
case $ac_sys_system in
- Linux*|GNU*|Darwin)
+ Linux*|GNU*|Darwin|SunOS)
EXT_SUFFIX=.${SOABI}${SHLIB_SUFFIX};;
*)
EXT_SUFFIX=${SHLIB_SUFFIX};;