Neal Becker wrote:
> Grant Tang wrote:
>> I need to compile a static boost.python library with '-fPIC' CFLAGS. I
>> don't know how to do it with bjam/jamfile.
>> Since my platform is x86_64 based, the libboost_python.a compiled without
>> '-fPIC' will not make my project compiled.
> Should you be using the .so versions which would be built with -fPIC?
> What os?
My os is linux.
The libboost_python.so works fine. But we want to statically compile our
software with boost.python, so it will not ask our end user to install
libboost_python first, just to minimize the dependency. We have a dozen of
dependency libraries. All other I can make their static library compiled
with '-fPIC' CFLAGS, since they use MAKEFILE instead of jamfile.
C++-sig mailing list