about summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makeconfig b/Makeconfig
index 39d4fbd8ef..0a338e12e2 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -532,8 +532,10 @@ $(common-objpfx)soversions.mk: $(..)shlib-versions $(..)Makeconfig \
 		 eval vers_lib$${lib}=yes; \
 		 number=`echo $$v | sed "s/^.*=//"`; \
 		 case $$number in \
-		   [0-9]*) echo "$$lib.so-version=.$$number";;  \
-		   *) echo "$$lib.so-version=$$number";;  \
+		   [0-9]*) echo "$$lib.so-version=.$$number"; \
+			   echo "all-sonames+=$$lib.so\$$($$lib.so-version)";;\
+		   *) echo "$$lib.so-version=$$number"; \
+		      echo "all-sonames+=\$$($$lib.so-version)";;  \
 		 esac; \
 	       fi; \
 	   done ;; esac; done; \