|
Boost Users : |
From: desai3_at_[hidden]
Date: 2007-09-26 10:01:04
Hi folks:
I have successfully wrapped up a C++ program in Python. Now I want to give
my libboost_python.so and server.so files to my friend, so that he can use
it too.
However server.so makes use of libstdc++ and ssl library files, which I
have to link statically to the server.so in order to be able to give
server.so to someone. However Bjam is not linking libstdc++.a or libssl.a
to server.so statically.
I will really appreciate if someone could give me any direction about how
to link these libraries statically to server.so .
Thank you very much.
Maulik
P.S.
My Jamfile looks like this
-----------------------------------------------------------------------
project-root ;
import python ;
extension server
: server.cpp
<template>@boost/libs/python/build/extension
:
<include>.
<include>../dqp
<include>/export/apps/dq/dqweb/include
<library-path>/home/o066144/work_in_progress/api/SunOS-5.8-g++
<library-path>/export/apps/dq/dqweb/lib
<library-path>/usr/local/lib
<find-library>ssl
<find-library>crypto
<find-library>dl
<find-library>socket
<find-library>nsl
<find-library>gcc
<find-library>stdc++
;
---------------------------------------------------------------------------
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