Re: svn commit: r38120 - in trunk: . build/ac-macros subversion/bindings/swig/perl/native
Arfrever Frehtes Taifersar Arahesis wrote:
> 2009-06-21 23:25:15 Greg Stein napisał(a):
>> On Sun, Jun 21, 2009 at 03:40, Arfrever Frehtes Taifersar
>> Arahesis<Arfrever.FTA_at_gmail.com> wrote:
>>>> If expat was being found just fine before r38120
>>> It was being found only because APR-Util was accidentally linked against Expat
>>> and apu-1-config was providing path to Expat directory which was used during
>>> building of APR-Util.
>> That is NOT an "accident". That is entirely by design.
> So the design is broken.
> Even libaprutil-1.so isn't linked against libraries printed by
> `apu-1-config --libs`, so linking against these libraries would slow down
> Subversion at run-time (ld.so would have to load attitional libraries).
> $ apu-1-config --libs
> -lldap -llber -llber -ldb-4.7 -lgdbm -lexpat
> $ scanelf -qF '%F: %n' /usr/lib64/libaprutil-1.so
> /usr/lib64/libaprutil-1.so: libexpat.so.1,libapr-1.so.0,libcrypt.so.1,libpthread.so.0,libc.so.6
Everyting that apu-1-config prints comes from the APR-util link command
line ... so, maybe there's a -Wl,--as-needed in there somewhere. Getting
our build to use that (portably) is a much better idea than breaking builds.
Received on 2009-06-22 12:43:30 CEST
This is an archived mail posted to the Subversion Dev