libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFT PATCH v3 0/9] Sysroot patches


From: Paolo Bonzini
Subject: Re: [RFT PATCH v3 0/9] Sysroot patches
Date: Sat, 31 Jul 2010 13:52:17 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5

On 07/30/2010 08:55 PM, Charles Wilson wrote:
> Since the bug is cross-platform, it should be easy(er) to fix for you
> non-cygwin types.  Any ideas, Paolo?

Not tested yet, but I am pretty sure this should do it:


diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index b0b0ebc..945248a 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -8066,12 +8066,12 @@ EOF
                func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
                ;;
              -L*)
-               func_stripname -L '' "$i"
+               func_stripname -L '' "$deplib"
                func_replace_sysroot "$func_stripname_result"
                func_append newdependency_libs " -L$func_replace_sysroot_result"
                ;;
              -R*)
-               func_stripname -R '' "$i"
+               func_stripname -R '' "$deplib"
                func_replace_sysroot "$func_stripname_result"
                func_append newdependency_libs " -R$func_replace_sysroot_result"
                ;;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]