Boost logo

Boost-Build :

Subject: [Boost-build] building boost static libraries with position independent code
From: Peter Steinbach (steinbach_at_[hidden])
Date: 2016-08-25 04:19:35

Hi to all,

I'd like to use boost in a project where I need to interface to java
(JNA). For this, only DLLs or shared libraries are possible to use. In
order to use boost in my cmake based cross-platform project, I'd would
like to link against the static boost libraries. I failed to do so yet
as they are default build *without* position independent code (checked
with 1.59.0). I found a very old entry in the archives of this list
regarding this issue:

Has this been solved by now? If so, what switch do I need to turn when
invoking b2 to achieve the above?

Any pointer to docs or the web are very welcome.

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