[Qt-interest] unix/compile.test

Thiago Macieira thiago.macieira at trolltech.com
Wed Mar 18 23:50:15 CET 2009


Paul Floyd wrote:
>Hi
>
>I've just been looking at this file (qt 4.4.1 - not sure if it's
>changed). I have a suggestion for an improvement.
>
>Instead of
>
>     -L*|-l*|-pthread)
>	LFLAGS="$LFLAGS $PARAM"
>	;;
>
>I'd put
>
>     -L*)
>	LFLAGS="$PARAM $LFLAGS"
>	;;
>     -l*|-pthread)
>	LFLAGS="$LFLAGS $PARAM"
>	;;
>
>I.e., ensure that all 0f the -L items come before -l ones.

If the order is wrong, then the order was wrong in whatever called the 
test.

Do you have a specific case where this is a problem? If so, where are the 
linker flags coming from?
-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
      Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090318/cf457d14/attachment.bin 


More information about the Qt-interest-old mailing list