On Feb 19, 2008 1:16 PM, Robert Dailey <rcdailey@gmail.com> wrote:
On Feb 18, 2008 6:39 PM, chun ping wang <cablepuff@gmail.com> wrote:
hi you need to define BOOST_ALL_NO_LIB=1 or something like that.


This does not work. It forces me to compile the boost CPP files myself, which I don't want to do. I want boost to look for the static library, like it should be doing. What else can I try?


I had to shuffle through the boost source myself to figure this out, but I finally managed to figure out how to make Boost.Python link against a static library. Simply define this preprocessor macro:

BOOST_PYTHON_STATIC_LIB