Closed GoogleCodeExporter closed 9 years ago
Or if you can include needed boost-python code in your's, it will be even
better :)
Original comment by on.cel...@gmail.com
on 9 Aug 2011 at 6:44
I have tried to link the static boost library with -static argument, but it
seems doesn't work when both the .a and .so exists.
http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Link-Options.html#Link-Options
-static
On systems that support dynamic linking, this prevents linking with the shared
libraries. On other systems, this option has no effect
So, I think the most simple way is rename/remove the symbol link of
libboost_python.so before build the pyv8; on the other hand, you may build
boost with -link=static which only generate .a
Original comment by flier...@gmail.com
on 10 Aug 2011 at 3:26
add a global BOOST_STATIC_LINK flag, please verify it with SVN code r389 or
later
Original comment by flier...@gmail.com
on 10 Aug 2011 at 4:43
Original issue reported on code.google.com by
on.cel...@gmail.com
on 9 Aug 2011 at 6:14