[PATCH] autoconf: Fix libLLVM-Major-Minor-Patch.so symlink

Tom Stellard thomas.stellard at amd.com
Thu May 15 07:52:23 PDT 2014


The symlink needs to point to a relative path, so we don't break
building in a chroot.
---
 Makefile.rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.rules b/Makefile.rules
index 5273e44..9417971 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -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::
-- 
1.8.1.4




More information about the llvm-commits mailing list