autoconf: Fix libLLVM-Major-Minor-Patch.so symlink
authorTom Stellard <thomas.stellard@amd.com>
Thu, 15 May 2014 19:50:25 +0000 (19:50 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 15 May 2014 19:50:25 +0000 (19:50 +0000)
The symlink needs to point to a relative path, so we don't break
building in a chroot.

Tested-by: Laurent Carlier <lordheavym@gmail.org>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208908 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 5273e44ee0e66a5f375548495e79f96d839c5f8f..941797107c7849ddf76efca0e97dcbca8306f74c 100644 (file)
@@ -1238,7 +1238,7 @@ $(DestSharedLib): $(LibName.SO) $(DestSharedLibDir)
        $(Verb) $(INSTALL) $(LibName.SO) $(DestSharedLib)
 ifdef SHARED_ALIAS
        $(Echo) Creating alias from $(DestSharedLib) to $(DestSharedAlias)
-       $(Verb) $(AliasTool) $(DestSharedLib) $(DestSharedAlias)
+       $(Verb) $(AliasTool) $(BaseLibName.SO) $(DestSharedAlias)
 endif
 
 uninstall-local::