[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extract the archive name from the .la file and use $AR (not ar).
From: |
Ralf Wildenhues |
Subject: |
Re: Extract the archive name from the .la file and use $AR (not ar). |
Date: |
Tue, 31 Aug 2010 19:30:03 +0200 |
User-agent: |
Mutt/1.5.20 (2010-04-22) |
* Peter Rosin wrote on Tue, Aug 31, 2010 at 07:21:34PM CEST:
> Den 2010-08-31 19:11 skrev Ralf Wildenhues:
> > libtool --mode=link $CC ... -o libfoo.a baz.o libbar.a
> >
> > should be adding baz.o and all objects in libbar.a to libfoo.a, i.e., it
> > should extract all objects from libbar.a Instead, libfoo.a is added *as
> > single member* into libfoo.a. That's the bug.
>
> (assuming typo and that you meant that libbar.a is added *as single member*)
Yes, sorry.
> In that case, MS lib does probably not see baz.o when it creates libfoo.a,
> and the test could be made stricter by checking that baz.o is also part of
> libfoo.a, since MS lib does the part that is currently tested for
> (extracting libbar.a and putting the contents in libfoo.a).
Cool. Yes, please extend the test. If MS lib still passes, you can
adjust the xfail line, something like
# This test passes with MS lib.
AT_XFAIL_IF([case $AR in ar-lib\ *) false;; *) :;; esac])
Cheers,
Ralf
- Extract the archive name from the .la file and use $AR (not ar)., Peter Rosin, 2010/08/30
- Re: Extract the archive name from the .la file and use $AR (not ar)., Ralf Wildenhues, 2010/08/30
- Re: Extract the archive name from the .la file and use $AR (not ar)., Peter Rosin, 2010/08/31
- Re: Extract the archive name from the .la file and use $AR (not ar)., Ralf Wildenhues, 2010/08/31
- Re: Extract the archive name from the .la file and use $AR (not ar)., Peter Rosin, 2010/08/31
- Re: Extract the archive name from the .la file and use $AR (not ar)., Ralf Wildenhues, 2010/08/31
- Re: Extract the archive name from the .la file and use $AR (not ar)., Peter Rosin, 2010/08/31
- Re: Extract the archive name from the .la file and use $AR (not ar).,
Ralf Wildenhues <=
- Re: Extract the archive name from the .la file and use $AR (not ar)., Peter Rosin, 2010/08/31