Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-11-09 17:24:54

In following jamfile libjpeg has no explicit dependency on libz
(although it should). However I remarked that for the link-line for an
executable the first library that is described in the source list (which
is in this case libz) is put last and the last in the source list is put

lib libz : : <file>/usr/lib/libz.a ;
lib libjpeg : : <file>/usr/lib/libjpeg.a ;

exe bla : libz libjpeg ;

So generally writing

exe bla : lib1 lib2 lib3 lib4 ;

retults in the link-line:

ld lib4 lib3 lib2 lib1 -o bla ;

Is this intentional or ... ?


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at