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

Laurent Carlier lordheavym at gmail.com
Thu May 15 08:49:23 PDT 2014


Le jeudi 15 mai 2014, 07:52:23 Tom Stellard a écrit :
> 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::

That's fixing the bug when built in a chroot, perhaps 3.4.1 release suffer from 
the same bug, not checked it.

Tested-by: Laurent Carlier <lordheavym at gmail.org>
-- 
Laurent Carlier
ArchLinux Developer
http://www.archlinux.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140515/ded5b403/attachment.sig>


More information about the llvm-commits mailing list