libtool
[Top][All Lists]
Advanced

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

Re: Suppressing --whole-archive


From: Ralf Wildenhues
Subject: Re: Suppressing --whole-archive
Date: Sat, 28 Feb 2009 11:17:30 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

* Barthelemy von Haller wrote on Fri, Feb 27, 2009 at 04:46:32PM CET:
> Hi again, sorry the second attachment was wrong. Here is the correct one.

Yep, thanks.  It also shows that I forgot to ask a more basic question
first: namely, which libtool version is was.  The log shows that it's
1.5.6.  This is very old.  The corresponding code has changed since,
and the code that would expand to this whole-archive bit has gone.

I would urge you to please use a newer libtool, or ask the maintainers
of the package you're using to rebootstrap it with a newer version.
Current Libtool is 2.2.6a.

FWIW, the bug has been fixed in 1.5.20, with

commit a02e5b87b812205f06e54cb0a06baaacbc815245
Author: Peter O'Gorman <address@hidden
Date:   Tue May 31 03:47:34 2005 +0000

    * ltmain.in: Do not add installed static litool libraries to
    convenience, they are not convenience libraries.
    Reported by Chen-Mou Cheng <address@hidden>

diff --git a/ltmain.in b/ltmain.in
index 6d6eb18..be7c7a5 100644
--- a/ltmain.in
+++ b/ltmain.in
@@ -2729,8 +2729,6 @@ EOF
              fi
            fi
          else
-           convenience="$convenience $dir/$old_library"
-           old_convenience="$old_convenience $dir/$old_library"
            deplibs="$dir/$old_library $deplibs"
            link_static=yes
          fi


Cheers,
Ralf




reply via email to

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