Boost logo

Boost-Build :

Subject: [Boost-build] Avoid static dependencies when linking a shared lib
From: Bo Jensen (jensen.bo_at_[hidden])
Date: 2012-07-22 09:56:17


Hi,

I have build a shared library, which in the build process depends on some
static libraries among other some boost libs. As a build test, I added a
test source linking with this shared library, but when it links it insist
on adding the static libraries which the shared library depended on
initially.

I am just adding the shared library in sources like :

mylib/<link>shared

In my case the build fails on windows, because of the extra static
libraries.

This there any options to avoid this ?

Thanks
Bo



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