|
Boost Users : |
From: Robert Dailey (rcdailey_at_[hidden])
Date: 2008-02-19 14:59:34
On Feb 19, 2008 1:16 PM, Robert Dailey <rcdailey_at_[hidden]> wrote:
> On Feb 18, 2008 6:39 PM, chun ping wang <cablepuff_at_[hidden]> 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net