[PATCH] autodetecting lib suffix

Andras Mantia amantia at kde.org
Wed Jan 18 14:38:11 GMT 2006


On Wednesday 18 January 2006 16:30, Dirk Mueller wrote:
> On Wednesday 18 January 2006 15:14, Andras Mantia wrote:
> > I would like to see this (or a fixed version) committed.
>
> Looks quite good, but not perfect. basically the user can have a
> "-m32" in his $CPPFLAGS (or $CFLAGS/ $CXXFLAGS) which would make a
> biarch compiler switch to the other libdir. Your auto detection
> doesn't honor that.

Yes, I actually tested -m32 to simulate a 32bit build. Shouldn't gcc/ld 
-m32 pick up the /lib/libc.so instead of the one from /lib64 (and in 
this case the KDE libs should go to $KDEDIRS/lib)? At least my 
intention was to do this way.

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- 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-core-devel/attachments/20060118/c5d34dcf/attachment.sig>


More information about the kde-core-devel mailing list