KDELibsDependencies.cmake problem (Re: KDE/kdebase/runtime/kioslave/smtp)

Thiago Macieira thiago at kde.org
Wed Oct 18 07:50:24 CEST 2006


Dirk Mueller wrote:
>On Tuesday, 17. October 2006 15:32, David Faure wrote:
>> But the practical problem is that on Linux it all links just fine via
>> kdecore, so the developers will never remember to add such explicit
>> links, since it "works for them" (tm). So the guys doing Mac OS (and
>> maybe Windows) porting will keep having to fix up CMakeLists to add
>> explicit linking afterwards - which breaks the idea of a
>> cross-platform build system IMHO; we should ensure that when it works
>> somewhere it works everywhere as much as possible.
>
>Well, then we need to port -Wl,--as-needed over to CMake. it would also
> help in general, therefore being a good thing.

Can you explain your reasoning?

I am building KDE with --as-needed and sometimes the build fails because 
indirect dependencies aren't found during link.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20061018/53944dd7/attachment.pgp 


More information about the Kde-buildsystem mailing list