Boost logo

Boost-Build :

Subject: [Boost-build] adding wrappers around static libraries
From: Jonathan Brannan (kickace_at_[hidden])
Date: 2010-01-29 20:33:29


I have something similar to this:

lib Foo : Foo.cpp ;
lib Bar : Bar.cpp ;

exe Main : Main.cpp Foo Bar ;

I need the part that includes path/to/Foo/Foo.a to be wrapped with
-Wl,--whole-archive Foo.a -Wl,--no-whole-archive. Is there a simple method
of accomplishing this?



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk