[PATCH] More --as-needed usage in kdelibs

Szombathelyi Gy�rgy gyurco at freemail.hu
Sun Nov 7 17:35:36 GMT 2004


The attached patch makes use of LDFLAGS_AS_NEEDED (hopefully) everywhere in 
kdelibs. The kinit stuff is a bit tricky, since kinit.cpp and kioslave.cpp 
should import at least one symbol from libs which should be linked to them. 
Is it acceptable?

P.S.: It would be good to add to kdetestscripts a check which tells if a 
PROGRAMS or LTLIBRARIES (except noinst) target doesn't have $(all_libraries) 
in its LDFLAGS (or doesn't have LDFLAGS_AS_NEEDED in the Makefile.am's 


Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdelibs-alllibs.diff
Type: text/x-diff
Size: 7731 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20041107/7aab9b2d/attachment.diff>

More information about the kde-core-devel mailing list