Boost logo

Boost-Build :

Subject: Re: [Boost-build] Avoid static dependencies when linking a shared lib
From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2012-07-22 10:11:08


   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.

   Could you prepare a small stand-alone project reproducing the problem?

   And are you sure it is the actual original static library and not
import library for you shared library that is causing the problem?

   Best regards,
     Jurko Gospodnetić


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