--- ltmain.sh.orig	Sat Oct  3 22:08:22 1998
+++ ltmain.sh	Sat Oct  3 22:09:00 1998
@@ -964,7 +964,11 @@
       sunos)
         version_vars="$version_vars major versuffix"
         major="$current"
-        versuffix="$current.$revision"
+        if [ -x /usr/bin/objformat -a `objformat` = "elf" ]; then
+          versuffix="$current"
+        else
+          versuffix="$current.$revision"
+        fi
         ;;
 
       *)
