Index: llvm-3.1-3.1~+rc3/tools/llvm-shlib/Makefile
===================================================================
--- llvm-3.1-3.1~+rc3.orig/tools/llvm-shlib/Makefile	2012-05-20 16:17:53.926257341 +0200
+++ llvm-3.1-3.1~+rc3/tools/llvm-shlib/Makefile	2012-05-20 16:17:56.278257311 +0200
@@ -77,7 +77,7 @@
 
 ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU))
     # Add soname to the library.
-    LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT) -Wl,-Bsymbolic-functions
+    LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT).1 -Wl,-Bsymbolic-functions
 endif
 
 ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU))
