[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: About --enable-new-ldflags
From:       David Faure <faure () kde ! org>
Date:       2005-07-04 20:14:37
Message-ID: 200507042214.38077.faure () kde ! org
[Download RAW message or body]

On Monday 04 July 2005 21:18, Thiago Macieira wrote:
> Szombathelyi György wrote:
> >Hi!
> >
> >The --enable-new-ldflags is a very good switch to reduce kde
> > dependencies. However there are some places where $(all_libraries)
> > missing, so the neccessary flags are not added to the linking process.
> > The attached patches fix this.
> 
> Thanks. I'd say apply.
> 
> I just have this vague memory of $(all_libraries) being necessary at the 
> beginning or the end of the line. Can someone clarify this?

IIRC placement of $(all_libraries) doesn't matter.
It's $(all_includes) which must be "after all local includes, like -Ifoo or -I.. or -I$(srcdir)/foo"
For libs, local libs are given with an explicit path (foo/libfoo.la) so there's no confusion with -L.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic