How to compile static library with -fPIC from boost.python

Hi all Default,libboostpython.a has be compiled without -fPIC.But I have to make a python extending and it is a dynamic library with -fPIC that link to static library. How to compile static library (libboostpython.a) with -fPIC from boost.python simon

I add "cxxflags=-fPIC" to the ./b2 command line.
---
Aaron Wright
From: simon zhang

thank you.
2012/9/15
I add "cxxflags=-fPIC" to the ./b2 command line.
--- Aaron Wright
From: simon zhang
To: boost-users@lists.boost.org Date: 09/14/2012 07:43 AM Subject: [Boost-users] How to compile static library with -fPIC from boost.python Sent by: boost-users-bounces@lists.boost.org Hi all Default,libboostpython.a has be compiled without -fPIC.But I have to make a python extending and it is a dynamic library with -fPIC that link to static library. How to compile static library (libboostpython.a) with -fPIC from boost.python
simon_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Aaron_Wright@selinc.com
-
simon zhang